Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp977369rdb; Fri, 16 Feb 2024 01:08:45 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUCfMRS55TLLgCJIv1Dg/3WMV61KvCiYAPj9J9Tnki9ABCyTn2LzsU5VEUfP2WT815r53rJrUvLB6ySQHNQL5RNQNfXsyjsn5cFQQJhbA== X-Google-Smtp-Source: AGHT+IGVlSyxDHBio1ufg6ACVr8YiAov/c7Av23lHh3SdSOFHzsluANrnIhocMP6DwyqVIfq1NTJ X-Received: by 2002:a05:6358:724e:b0:178:9b37:79f0 with SMTP id i14-20020a056358724e00b001789b3779f0mr4533376rwa.32.1708074524689; Fri, 16 Feb 2024 01:08:44 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708074524; cv=pass; d=google.com; s=arc-20160816; b=nIkuN2U8b94SzpdceFSCWJ2Jr9yKkcI/H9TKyO08XaRbN67S8fYZbK0iKZM2XXIZr5 FPI3EWfyqHtzYr+N9xUk6kMS/jYxpAiTMTSQ5Y+VAefmMBhTmjQyZJuAA1pEAF73Ny51 VJjH7p9nyoo9YiEDPmVuKZ8BIwMUHOFs9cJSGzd41BDGdJ7UIop7/DUURKmMd/x+54i0 NIlUSVroJwrttoozyxVl3J7lsGOOLH9LBhtVVlW6uC+R74zzYJQS9UZ4CybGNFWXRH4f ws6qBNZ+zs4n7T27h/mBoK+gaJi/2o+zSWIyGuLt7TcMfNkAfHX6qpiOIcfTl4jZdNkC q8Kw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=lAdirblbryJ1z6kgHkbaO7Nm/RH8zn0pc3E7Xzdhsk8=; fh=20Q1/AoXH664TkWngZ/XmD1gXY4XcDiUoMdw+uOHjhw=; b=OpWky+S7wHyiVI25EjMC54SjjbUmxkqbpU/S5txOdiKTGs7a6aGYkmgQy1RkRVotBw DwKRy2Sf17qJKWKMlTRo6iwjrk++c0NB5vTMLzJg7WjezbxHN9aYBYBo2ook4yelPAH8 AWs6d0jrOWoR2m9wcwrzn+iZKgLncXaiqtQ/PHnIhjcK+9IYdpXoTZ1O28djJNYB2wFH cokZkF5iHETx62SkpTMQOVQk4CWmK0hVsLMBfp3Jl8v5FrMHujUKBErDhvV4rFW102cr uz7sSncqMGa7YcRCj4j7Ok0jZojMyvavNzJMipD77sD/S4tX3A0KusyXUza7xru6u/+H 4nXw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=UM8xGeTM; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-68303-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68303-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id z3-20020a62d103000000b006e07224f0bdsi2664092pfg.276.2024.02.16.01.08.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 01:08:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-68303-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=UM8xGeTM; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-68303-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68303-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 1D0C5284EF3 for ; Fri, 16 Feb 2024 09:05:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 492381BC31; Fri, 16 Feb 2024 09:05:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="UM8xGeTM" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4DBEE1BC20; Fri, 16 Feb 2024 09:05:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708074332; cv=none; b=l4JnY53Evy5DAQsboQI1dQloNFxNOx0ueiZ5Hpxl9z0v1GAD7RGTaqnLZS6+TEMbblpdkUYdgG1JGd/nPyd2tuWIEULgBnU61enruqZWXDlVE1xhNmhcGiq511vZUli/HSx+0pBEU7mcV9xT6AAIYO9/Ao/2Exz5I/O0u+8z+bQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708074332; c=relaxed/simple; bh=f2wh1QsEa1UsaNBdVYAdNAwqa6OdTmucGngu4R41lrA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=kgmboJBrtyW6lh+eNnebK4kAtOi2muWOoyO8oFGCfv3eaHvsQo+M53fwsTglYwc8lXbmdd0W+KaXklZ1ObToOTgsdPl95Dz0YGppeEuqQTZMe8JavcVUZZizay8Lg6LewlFHFCLsFlNq+cBLvwzXKAWWR3btkdspJoKcHDtdHO4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=UM8xGeTM; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5E738C433F1; Fri, 16 Feb 2024 09:05:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708074330; bh=f2wh1QsEa1UsaNBdVYAdNAwqa6OdTmucGngu4R41lrA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=UM8xGeTMH6VNRn/x6xgWIILBOdW34CH016Ah5Pr6BtdNOWDTxVNYW7CVYcjQKnx1C oB5UPpxsHWVvIdjJAzVtSMQU2V2sCRbbA6okH2gzQqM55bJNyurZ3V9m16wNQKzcBI xbQtyywF85B8kP55MK6T9GMZz7OIE1VF9jlrqZIqGRCJtOAENKRua7ITqvH084oTdk CDH6T1WPnCSGYlp+hP7LCiw/y4DJMdkWXLlPbc6xuwQ9znxLEFkxNFw2mVujk9oxsf Bxykp6LgWXWczNPjJYc/nkNtzxQrkhiFcXBVqjWJeIYl4mYek0RVZel6m0MKgL3F6i gj/V8zESMI34A== Date: Fri, 16 Feb 2024 10:05:27 +0100 From: Maxime Ripard To: Biju Das Cc: Adam Ford , Geert Uytterhoeven , Frank Binns , Matt Coster , Maarten Lankhorst , Thomas Zimmermann , David Airlie , Daniel Vetter , Sarah Walker , "dri-devel@lists.freedesktop.org" , "linux-kernel@vger.kernel.org" , Javier Martinez Canillas , Nishanth Menon , Marek Vasut , Linux-Renesas Subject: Re: RE: [PATCH v2] drm/imagination: DRM_POWERVR should depend on ARCH_K3 Message-ID: References: <6be2558b8462fc08095c24c9257563ab5f3ae013.1708001398.git.geert+renesas@glider.be> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="7qyxpf6ga5atuhgo" Content-Disposition: inline In-Reply-To: --7qyxpf6ga5atuhgo Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Feb 16, 2024 at 08:47:46AM +0000, Biju Das wrote: > Hi Adam Ford, >=20 > > -----Original Message----- > > From: Adam Ford > > Sent: Thursday, February 15, 2024 11:36 PM > > Subject: Re: [PATCH v2] drm/imagination: DRM_POWERVR should depend on > > ARCH_K3 > >=20 > > On Thu, Feb 15, 2024 at 11:22=E2=80=AFAM Adam Ford = wrote: > > > > > > On Thu, Feb 15, 2024 at 11:10=E2=80=AFAM Adam Ford wrote: > > > > > > > > On Thu, Feb 15, 2024 at 10:54=E2=80=AFAM Geert Uytterhoeven > > > > wrote: > > > > > > > > > > Hi Maxime, > > > > > > > > > > On Thu, Feb 15, 2024 at 5:18=E2=80=AFPM Maxime Ripard > > wrote: > > > > > > On Thu, Feb 15, 2024 at 01:50:09PM +0100, Geert Uytterhoeven > > wrote: > > > > > > > Using the Imagination Technologies PowerVR Series 6 GPU > > > > > > > requires a proprietary firmware image, which is currently only > > > > > > > available for Texas Instruments K3 AM62x SoCs. Hence add a > > > > > > > dependency on ARCH_K3, to prevent asking the user about this > > > > > > > driver when configuring a kernel without Texas Instruments K3 > > Multicore SoC support. > > > > > > > > > > > > This wasn't making sense the first time you sent it, and now > > > > > > that commit log is just plain wrong. We have firmwares for the > > > > > > G6110, GX6250, GX6650, BXE-4-32, and BXS-4-64 models, which can > > > > > > be found on (at least) Renesas, Mediatek, Rockchip, TI and > > > > > > StarFive, so across three > > > > > > > > > > I am so happy to be proven wrong! > > > > > Yeah, GX6650 is found on e.g. R-Car H3, and GX6250 on e.g. R-Car = M3- > > W. > > > > > > > > > > > architectures and 5 platforms. In two months. > > > > > > > > > > That sounds like great progress, thanks a lot! > > > > > > > > > Geert, > > > > > > > > > Where can I find these firmwares? Linux-firmware[1] seems to lack > > > > > all but the original K3 AM62x one. > > > > > > > > I think PowerVR has a repo [1], but the last time I checked it, the > > > > BVNC for the firmware didn't match what was necessary for the GX6250 > > > > on the RZ/G2M. I can't remember what the corresponding R-Car3 model > > > > is. I haven't tried recently because I was told more documentation > > > > for firmware porting would be delayed until everything was pushed > > > > into the kernel and Mesa. Maybe there is a better repo and/or newer > > > > firmware somewhere else. > > > > > > > I should have doubled checked the repo contents before I sent my last > > > e-mail , but it appears the firmware [2] for the RZ/G2M, might be > > > present now. I don't know if there are driver updates necessary. I > > > checked my e-mails, but I didn't see any notification, or I would have > > > tried it earlier. Either way, thank you Frank for adding it. I'll > > > try to test when I have some time. > > > > >=20 > > I don't have the proper version of Mesa setup yet, but for what it's > > worth, the firmware loads without error, and it doesn't hang. >=20 > Based on [1] and [2], >=20 > kmscube should work on R-Car as it works on RZ/G2L with panfrost as earli= er version of RZ/G2L > which uses drm based on RCar-Du, later changed to rzg2l-du. IIRC, the mesa support isn't there yet for kmscube to start. Maxime --7qyxpf6ga5atuhgo Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCZc8lVgAKCRDj7w1vZxhR xepyAQCELyUwolN79rHm8W/imYO1o+sXScI/7WVY7KyqlDvzfwD/af+pQ1kUutaA 1pOy7cp+cy96j/y6GiXH461qSXg2GAQ= =qTsf -----END PGP SIGNATURE----- --7qyxpf6ga5atuhgo--