From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id ECD91EB64D8 for ; Fri, 16 Jun 2023 14:12:54 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6EFE010E63B; Fri, 16 Jun 2023 14:12:54 +0000 (UTC) X-Greylist: delayed 328 seconds by postgrey-1.36 at gabe; Fri, 16 Jun 2023 14:12:52 UTC Received: from mo4-p01-ob.smtp.rzone.de (mo4-p01-ob.smtp.rzone.de [85.215.255.51]) by gabe.freedesktop.org (Postfix) with ESMTPS id AF29710E63B for ; Fri, 16 Jun 2023 14:12:52 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; t=1686924407; cv=none; d=strato.com; s=strato-dkim-0002; b=XItB18IQIX/jACGLeEiuViIDhNf41TqosHIcEnWFt+S7l60/I2EtgWrJocef7B9S2q X142Y+sYRmi3lX6Y8lk0BvLJHHLi9rzsSrRMP0ysnArjQttsNT+P1fDEKmRT9ipnOM2U +EdEDfqAKOmQb8kA5AE0nSVM2gVH7+Lmzz4GFnl6knUG0HL9Q2Sjq+YgmmihNe+cwhf+ hueGS1UfHPYA32INu9tfqMMxSMSmRkxsow7MbvdwCBntyqe7CXJOt7S/uxz3fFw4KJlo haJS0uf90sBadt0GmXHxyLrn1w/fprMlRP5v2SmMyF7qUgSSQsjLsxRXD2zAdMueEdY0 vFpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1686924407; s=strato-dkim-0002; d=strato.com; h=To:References:Message-Id:Cc:Date:In-Reply-To:From:Subject:Cc:Date: From:Subject:Sender; bh=+FAEIASIz8oKie711NU6GVGe3x4TthEP9e1C55ifneQ=; b=PXA5zYYrIJnqdUc0W6j/EBrEx4RB7bu07I+cGIw/5titxIoEiAKMgKCPUkc3On5r9A IZ+Mw2EzhpHNbOBnzxeytNk04yR4gp+7420tKVEYuQeiBB5r4w+RbLZarq0dtzk6gOxE 3SkuK1casHCxmh9OrZgM+upjZf3rtNVSBXx6Vacfot/9ejRGaJrJ4zYJPFn2f98FmL8F 0H4TDJIgBAtYjx0Oed7rJ1PTzdcLpOe7xlmY+wfirEWOdgI6GvLDazniZ3Pnz7w2eKLj f15SM3cTVERAb3+wPmYWvXgAKWOqUTnGkhOL5HB4Z0zKFqTqSooCse1cM11oB2nHRbk1 DQHw== ARC-Authentication-Results: i=1; strato.com; arc=none; dkim=none X-RZG-CLASS-ID: mo01 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1686924407; s=strato-dkim-0002; d=goldelico.com; h=To:References:Message-Id:Cc:Date:In-Reply-To:From:Subject:Cc:Date: From:Subject:Sender; bh=+FAEIASIz8oKie711NU6GVGe3x4TthEP9e1C55ifneQ=; b=lQ5OR91J3wG3EtXPECzhyMtUw5CqRieDPohXP+5bcf2AACaUN6dWTzLEVy2qtM02oU lf5NwAZkwHD9aYO2wvHMHpKvDlCJaFL7PYKuyLZDXqhO2TG06F0MiQoNcChYJmq/nUNI r+h1eg31RG8SihxvU2EBxHXQQSF21sAeaPUx+ABlNkTCfCqekQ89tFRpB2C/v/Mk79wN 1W2GgAiVoW30nC1Z4gEct2tMeRtmRSEJK6lKVdqSOn+eI5yd/1MFT/EAGP04Ex9DfOa/ glXr6Cs+tfAXKjxUB1sTVXFlWgqTWncQAWAd0zi42KcGCwr3SX7chhSlOdwYtTkGm3KS U7aw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1686924407; s=strato-dkim-0003; d=goldelico.com; h=To:References:Message-Id:Cc:Date:In-Reply-To:From:Subject:Cc:Date: From:Subject:Sender; bh=+FAEIASIz8oKie711NU6GVGe3x4TthEP9e1C55ifneQ=; b=j/oUAOMP58B+rPxa1p+1z34QiYDhWYYCQbC147EL2i6E5+p714WslPE/n+YIEEe9c7 roCrVxFHbYKhjZgAQKDA== X-RZG-AUTH: ":JGIXVUS7cutRB/49FwqZ7WcJeFKiMgPgp8VKxflSZ1P34KBj5Apz9PSN6LgsXcGYkv8=" Received: from imac.fritz.box by smtp.strato.de (RZmta 49.6.0 DYNA|AUTH) with ESMTPSA id jaf17fz5GE6l9XI (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve X9_62_prime256v1 with 256 ECDH bits, eq. 3072 bits RSA)) (Client did not present a certificate); Fri, 16 Jun 2023 16:06:47 +0200 (CEST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.21\)) Subject: Re: [PATCH v3 00/17] Imagination Technologies PowerVR DRM driver From: "H. Nikolaus Schaller" In-Reply-To: Date: Fri, 16 Jun 2023 16:06:45 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20230613144800.52657-1-sarah.walker@imgtec.com> To: Linus Walleij X-Mailer: Apple Mail (2.3445.104.21) X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: matthew.brost@intel.com, Sarah Walker , openpvrsgx-devgroup-bounces@letux.org, dri-devel@lists.freedesktop.org, christian.koenig@amd.com, luben.tuikov@amd.com, dakr@redhat.com, donald.robson@imgtec.com, boris.brezillon@collabora.com, sumit.semwal@linaro.org, faith.ekstrand@collabora.com Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi Linus, thanks for sharing this conversation with me. > Am 16.06.2023 um 14:29 schrieb Linus Walleij = : >=20 > Hi Sarah, >=20 > thanks for starting this long awaited work! >=20 > On Tue, Jun 13, 2023 at 5:20=E2=80=AFPM Sarah Walker = wrote: >=20 >> This patch series adds the initial DRM driver for Imagination = Technologies PowerVR >> GPUs, starting with those based on our Rogue architecture. It's worth = pointing >> out that this is a new driver, written from the ground up, rather = than a >> refactored version of our existing downstream driver (pvrsrvkm). Great! >=20 > This seems to be a fairly good starting point, a bit of trade-off > between latest-and-greatest > and recent enough devices that need aftermarket support. >=20 > I assume you are aware of the community existing around Series 5 > (should be the immediate > predecessor to Rogue?): > https://github.com/openpvrsgx-devgroup/linux_openpvrsgx >=20 > I don't know how active those people are these days, but I can see = that a branch Well, there hasn't been much progress due to lack of documentation and = compatibility issues of user-space code. Just keeping the code compatible to latest = upstream kernels. But at least for OMAP3 and OMAP5 processors people are actively using = this work. There is even a gaming console (www.pyra-handheld.com) in active = production with a strong need for an up-to-date SGX544 driver running on OMAP5. > was updated for v6.4-rc3 just three weeks ago. > = https://github.com/openpvrsgx-devgroup/linux_openpvrsgx/tree/pvrsrvkm-6.4-= rc3 >=20 > I think it would be good for community building to make sure that you = get these > people involved in reviewing, especially neutral stuff like device = tree bindings > but also to make sure no architectural choices are done that will make = it hard > to retrofit a proper driver for the older engines if this community > decide to work > on it. Some questions to the author of the new driver: - are there plans to support SGX5 (the predecessor of Rogue6)? - will this be able to run the existing firmware and user-space code of = pvrsrvkm? - or will it have new firmware and user-space code for these older = chips? - or will there be open user-space code for SGX (and Rogue)? >=20 > Specifically I would ask that the DT bindings include all old and new = PowerVR > hardware in one go, unless they have very specific hardware definition = needs, > which I doubt. Our current bindings for all SoC with a SGX5 GPU inside and which have = at least some official Linux support are here: = https://github.com/openpvrsgx-devgroup/linux_openpvrsgx/blob/letux/omap-pv= r-soc-glue-v8/Documentation/devicetree/bindings/gpu/img%2Cpvrsgx.yaml There was an attempt to upstream at least this plus glue code (i.e. = device tree sources) some years ago but there was no consensus about the number and = names of clocks that should be included in such a bindings document. >=20 > Also I think they could use your help to get the proper firmware for = the older > hardware licensed properly from Imagination and included into = linux-firmware > so they do not need to ship files on the side. Indeed, this and some "universal" user-space code would help a lot. = Currently we have collected a lot of binaries for several architectures (e.g. = Intel, OMAP, JZ4780), but all from different DDK versions and very different assumptions about = system library versions. >=20 > Yours, > Linus Walleij Best regards, Nikolaus Schaller