Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp1139395rdb; Fri, 16 Feb 2024 06:36:11 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXCprrNv3w9U8lMmtcJDNcBBAF0VWiiIJ7wZNHwlIUnqbommClGcWYQWFDk2PmMwSu4wp73ywwIzXtOM6dJ2nOE/WKtqzx6+NjODbmwDA== X-Google-Smtp-Source: AGHT+IG2jYZaSDs91m0swc9bivtFNHloaGAEe0IUmEzCuKGkTWFUvoLNB3Gl8+vTSsHYcxyW7qbT X-Received: by 2002:a05:6e02:12c2:b0:365:80d:9aee with SMTP id i2-20020a056e0212c200b00365080d9aeemr3233207ilm.31.1708094170649; Fri, 16 Feb 2024 06:36:10 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708094170; cv=pass; d=google.com; s=arc-20160816; b=G1QL9W78NuJx4tl65CmLG15S0sgwly5tUfGlro+APSvreW5n3BMrNiz6uvEeGMrWly 2GRAdwnHD2ukfBUnKEEyyWqBLvnTK4NhAtuiA6waKsbtLv4RJcBRJBaQksuGcinKI5y5 k5908nUyxanr0nQvkuRYc5kLm2VM7sJ12uang0qf37iY01tJOrT1iy5zr4+Q7FjPUHkA 93hJFdHPR9E2w9UnHgyNxwEg3t6tzdf3knUpDYxhwCQQ/oN4xMIIU7NGVfop8MPsoN+z kDiuFTBQ+7/FPuA9MxzpNYy+tGQvobe2p1kjWI3bCI53kBoXxyo0Qa35l91yMMWtS5F/ Uv1Q== 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=s3HK7dYmq1PPO9m28sJWbwQXhCxZ11172c7MDdI9iZE=; fh=20Q1/AoXH664TkWngZ/XmD1gXY4XcDiUoMdw+uOHjhw=; b=YpYc4xk6aNyxqlKcHr2rm3thw1cll++jzkGpCOiwqxHZZgumXrQqaQseWoF/YYdZeo c5hSB6TRUZ2H2R5uTNwgDzrV//JVMM15StSXoOVzYp3Yo93O431+5apQXYR/7NX0d0B0 wJRLXhNc06JJo4OHaxPXVDikE5HKRW1tgosJnyTHVM0pKMvCVrMG7SeQf4pjzSOCI/wC zEI/pjxAZWr4ejuRIkYOcWxE25PdFhN8wDgRmlk4neC8N2HIR1rOnO5gi2AVJDERU/B1 5hEWKPFwXxfmdNGKf9dLc/SsDJF7h+La/ocdywcWI/zYP+njr8CmIzukVVO6krKG3b47 Cmww==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lV068Mks; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-68725-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68725-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id t16-20020a63b250000000b005dc846e12adsi3141733pgo.655.2024.02.16.06.36.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 06:36:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-68725-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lV068Mks; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-68725-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68725-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id C2931B218A0 for ; Fri, 16 Feb 2024 14:14:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BFF72129A98; Fri, 16 Feb 2024 14:14:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="lV068Mks" 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 AD56F12C7E3; Fri, 16 Feb 2024 14:14:11 +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=1708092851; cv=none; b=qRAiryb84hMbm2IFQyaHnaIKR3t9feucs05aej5dW+S6xH7VLX4F3MGuvh8BCNWd4/WOmkch7BIPJIj7gJRQP+OUPI/+EfbStfda5T8YM9DqTkLlEB1Snvorswy7jtXR46T456w1y2h+YSkPx43ykRhgCu7+ZdWy45y9yOlxiUQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708092851; c=relaxed/simple; bh=ulooY3k/9kjdy6juICpuC9BZLtxZZtvHi1HuciUwdIY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=iu5OikseD1y4KYgwCfOUNRNF99gf+sfs1xte0ViNNYtuFOrZyi/GN5SveKIKT6z2wqddGeRp7wGYU+Wa5G3flDiXHdmpMIB98MX3hVP0yb+ZZoWc0woAk7hi+DbduHJ+GSXZEjca0Uvzp1PYFDKhWX6vbTYW8bn1xildOKNMsO0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=lV068Mks; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 23D03C433F1; Fri, 16 Feb 2024 14:14:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708092851; bh=ulooY3k/9kjdy6juICpuC9BZLtxZZtvHi1HuciUwdIY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=lV068Mks1mgMbPWPWpAQSOU/t+Fo4s5NnRVE0PHpNb0MgnVnEcCeIeXqvMhtXbuKC U2FRuVwoW7w3iZAUjrUBs1rFjdjFz94YHnv7/G8ipeLf/EVqpUrlG0ieVwkd1TF9JJ z4nr9nsNtZ5vUdkUqZrKds39GmlN4ki6xhtku07BVI8GaF/MwlSA+jJKTPItxtsV2p LkyREhW5+ml4TlKQxIkFej2ZKg68T4lCNuXVRC+vHbOE7u4hdUo8J2YMtT6dSVhgDL uVOX/DzBJI1rsxXAm6dYVXzGXpg6DhcK7ZRl6WLRvXyM7QEOIhsZ+JlTr2s3OPjjWQ kgoviwRy/KQLw== Date: Fri, 16 Feb 2024 15:14:08 +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: 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="v6zk4jxmpuh5uajd" Content-Disposition: inline In-Reply-To: --v6zk4jxmpuh5uajd Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Feb 16, 2024 at 09:13:14AM +0000, Biju Das wrote: > Hi Maxime Ripard, >=20 > > -----Original Message----- > > From: Maxime Ripard > > Sent: Friday, February 16, 2024 9:05 AM > > Subject: Re: RE: [PATCH v2] drm/imagination: DRM_POWERVR should depend = on > > ARCH_K3 > >=20 > > On Fri, Feb 16, 2024 at 08:47:46AM +0000, Biju Das wrote: > > > Hi Adam Ford, > > > > > > > -----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 > > > > > > > > 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 el= se. > > > > > > > > > > > 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. > > > > > > > > > > > > > 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. > > > > > > Based on [1] and [2], > > > > > > kmscube should work on R-Car as it works on RZ/G2L with panfrost as > > > earlier version of RZ/G2L which uses drm based on RCar-Du, later chan= ged > > to rzg2l-du. > >=20 > > IIRC, the mesa support isn't there yet for kmscube to start. >=20 > What about glmark2? I tested glmark2 as well. It's not really a matter of kmscube itself, but the interaction with the compositor entirely. You can run a headless vulkan rendering, but an application that renders to a window won't work. Maxime --v6zk4jxmpuh5uajd Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCZc9tsAAKCRDj7w1vZxhR xcnGAQD5CBylgkDZNdCl/pKDpsaGrLRJbCmkrP4nBuIIyATfgQD7BuOie/iGRBWI hBlixgDo5tqqY/4QNJmZ88R6yPkUyg8= =cjDh -----END PGP SIGNATURE----- --v6zk4jxmpuh5uajd--