Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1107678pxj; Tue, 18 May 2021 21:55:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzuyeHAKP/PxYbO7g89VwipQBAMyIPAQqFuBOthQP1i6gKI/9M0WVzegEclLhgGK6bSt0KM X-Received: by 2002:a17:906:2a1b:: with SMTP id j27mr10124855eje.370.1621400131939; Tue, 18 May 2021 21:55:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621400131; cv=none; d=google.com; s=arc-20160816; b=mfZNHBQXBLENzZ0mjZ0OM3zZj9uwv2kkRbm00XLf7Zd5PCe6O1j3kvYisIGqXPA29b i3C7bLneERusOQqgPQw6o+zGEVQaDVC7GX0r42BzFD0iF1j3UWSYV+E7ux70Bmc+yrYI itHOn0dlVkQ+pDQLA4+LAqeZHInvL1SkYrLi4Q4bixDQIDo+Pa4rtF52ZONAssqfIQ6p UcdECuJq77hGfZ8KIcnKXyMoXWYPYzvQGuB606UjGKvgflWatR23LBmHhG7nUaYhFT1q vcmMjptGttgLgwhRBEBLQaTFY0KGY6Yh4KInkOpMDFpCJm4/JGWrqFvi4EaOsBgsKRiI EOBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=30L+/R6zegvlHB3N0Xrf5wsZTSHvTf998boQp5BeVa4=; b=fJK+oxfKu3q3RwkP6BWUD0aGrfe/v9RC7BE+IzhGO4EwNnRK99GZvBpe1uMdkLi+5e 7nezfwcDPWNP0Md6Iehhdq0lc1J8Vp9VmjhsbSU/7eq4pyCRmx+0UBv08JfuWijMTr/B jHbaS0SEjgdpMbZ3WX+aD7Mi7+W7w6xNp5G8n4mF7i2kbZgRG+vNltWC/xhiHJL1d8tA w2NAGoO49DqeuRNvE77ecZMPMMhfNz0h3nr8GE66kGZrLHn2pIHS+jJnDKs2Rap2nqJs AR711ckmMng8fnfq3xRFMIextUZZznmHv4ryh6j0Fd9ZfJf+KSgjkr96BsQgsmM2Vglz usaw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ox9si18433050ejb.754.2021.05.18.21.55.09; Tue, 18 May 2021 21:55:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236353AbhEQURJ (ORCPT + 99 others); Mon, 17 May 2021 16:17:09 -0400 Received: from mx2.suse.de ([195.135.220.15]:33710 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229889AbhEQURH (ORCPT ); Mon, 17 May 2021 16:17:07 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id AF6C8AEB3; Mon, 17 May 2021 20:15:49 +0000 (UTC) Subject: Re: [PATCH v3 00/14] Driver of Intel(R) Gaussian & Neural Accelerator To: Daniel Vetter Cc: Alex Deucher , Arnd Bergmann , Jonathan Corbet , Greg Kroah-Hartman , Dragan Cvetic , "open list:DOCUMENTATION" , Linux Kernel Mailing List , DRI Development , Maciej Kwapulinski , Andy Shevchenko , Derek Kiernan References: <20210513110040.2268-1-maciej.kwapulinski@linux.intel.com> <503d101d-7273-757a-2809-e272db93c45d@suse.de> <3aac3e39-4889-22dc-83dc-72fff63cb3d0@suse.de> From: Thomas Zimmermann Message-ID: Date: Mon, 17 May 2021 22:15:48 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="6jSQ74WCN6fjyYkRQIxlywyhJlLUuOPzX" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --6jSQ74WCN6fjyYkRQIxlywyhJlLUuOPzX Content-Type: multipart/mixed; boundary="oLgGb4CoOy9gGjPXaoCdhJXJTDo4Hm2Za"; protected-headers="v1" From: Thomas Zimmermann To: Daniel Vetter Cc: Alex Deucher , Arnd Bergmann , Jonathan Corbet , Greg Kroah-Hartman , Dragan Cvetic , "open list:DOCUMENTATION" , Linux Kernel Mailing List , DRI Development , Maciej Kwapulinski , Andy Shevchenko , Derek Kiernan Message-ID: Subject: Re: [PATCH v3 00/14] Driver of Intel(R) Gaussian & Neural Accelerator References: <20210513110040.2268-1-maciej.kwapulinski@linux.intel.com> <503d101d-7273-757a-2809-e272db93c45d@suse.de> <3aac3e39-4889-22dc-83dc-72fff63cb3d0@suse.de> In-Reply-To: --oLgGb4CoOy9gGjPXaoCdhJXJTDo4Hm2Za Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable Hi Am 17.05.21 um 22:00 schrieb Daniel Vetter: >> Sharing common code among subsystems is not a problem. Many of our >> more-sophisticated helpers are located in DRM because no other >> subsystems have the requirements yet. Maybe AI now has and we can move= >> the rsp shareable code to a common location. But AI is still no GPU. T= o >> give a bad analogy: GPUs transmit audio these days. Yet we don't treat= >> them as sound cards. >=20 > We actually do, there are full blown sound drivers for them over in > sound/ (ok I think they're all in sound/hda for pci gpus or in > sound/soc actually). There's some glue to tie it together because it > requires coordination between the gpu and sound side of things, but > that's it. I know. But we don't merge both subsystems, just because the devices=20 have some overlap in functionality. Best regards Thomas >=20 > Also I think it would be extremely silly to remove all the drm_ stuff > just because it's originated from GPUs, and therefore absolutely > cannot be used by other accelarators. I'm not seeing the point in > that, but if someone has convincing technical argument for this we > could do it. A tree wide s/drm_/xpu_ might make some sense perhaps if > that makes people more comfortable with the idea of reusing code from > gpu origins for accelerators in general. > -Daniel >=20 --=20 Thomas Zimmermann Graphics Driver Developer SUSE Software Solutions Germany GmbH Maxfeldstr. 5, 90409 N=C3=BCrnberg, Germany (HRB 36809, AG N=C3=BCrnberg) Gesch=C3=A4ftsf=C3=BChrer: Felix Imend=C3=B6rffer --oLgGb4CoOy9gGjPXaoCdhJXJTDo4Hm2Za-- --6jSQ74WCN6fjyYkRQIxlywyhJlLUuOPzX Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsF5BAABCAAjFiEExndm/fpuMUdwYFFolh/E3EQov+AFAmCizvQFAwAAAAAACgkQlh/E3EQov+Ay WA/8CsiYmVjdX5mgd24Mcuk72EZyvsLI0bseTUnltOfF9WZPXw+wfSzWJakKqYxGzZ0aFernuz7F dkhwFKzWJ+ZpD2+WyDaxiaoSXoh4yg2rqRSGOZa0W3r/bq5homk2bAkXOpmnHtOAytVz6UxiHJew x4Qa9RxqEOud72vSONmfeoyD4Ib9iunpTUAFok43yg9OoxgUlhipSCwbfJRU4V6slHIQuB8yqvHS uossF7guT0jBrK1YXvwod3ZnEAi+5ilWCEiPejlOD2Z171cu3Ak9/xRevN8Tg8AoL/ki40x6bBgV V5mQzShY0zGyIQtunneyClthNf5SsBWyIBR1rNxNFAkQcqqxr0U/ShLjEanUW8ET5Po29cusZ4WD eqkh17gqtQubxwxnxFVyAg0yRY8ruuQBMmUqLxLNbsr8SO0NJa138MXY9AMIDUKdPsVGHOxBxsP1 9xrIpRJCZ/qSFoUaqFdMDjOJ349Ubso6KGIL2YMlkK6j2i56t0IWCE7rqraPNaEiCaJcqp7juprE ioWCUB1p/8R5hgiCmCvLc6+r/av2ibMlsN6wZLOvZFjLcGjPn+0ZSLIlKUZ1zk+Z73j+HkElJeIM eBNHSFMwPffAQKItkJ2csc9xTCXWAeLvIG6r2dhvSJLlnI/YyQMDV+09ss7MB6umfEMcmb8dzqZf Kzk= =+mZB -----END PGP SIGNATURE----- --6jSQ74WCN6fjyYkRQIxlywyhJlLUuOPzX--