From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:54854) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jGEZH-00073e-N3 for guix-patches@gnu.org; Mon, 23 Mar 2020 00:20:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jGEZG-00028h-FI for guix-patches@gnu.org; Mon, 23 Mar 2020 00:20:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45380) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jGEZF-00028K-QT for guix-patches@gnu.org; Mon, 23 Mar 2020 00:20:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jGEZF-00068K-LO for guix-patches@gnu.org; Mon, 23 Mar 2020 00:20:01 -0400 Subject: [bug#40191] mesa: Support rockchip platforms Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:54837) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jGEYx-0006zr-Ow for guix-patches@gnu.org; Mon, 23 Mar 2020 00:19:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jGEYw-0001zw-SS for guix-patches@gnu.org; Mon, 23 Mar 2020 00:19:43 -0400 Received: from cascadia.aikidev.net ([173.255.214.101]:60784) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jGEYw-0001zY-LS for guix-patches@gnu.org; Mon, 23 Mar 2020 00:19:42 -0400 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:21:21:0:100b]) (Authenticated sender: vagrant@cascadia.debian.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id 24C581A9BD for ; Sun, 22 Mar 2020 21:19:41 -0700 (PDT) From: Vagrant Cascadian Date: Sun, 22 Mar 2020 21:19:37 -0700 Message-ID: <87imivbt46.fsf@yucca> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 40191@debbugs.gnu.org --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain The attached patch enables drivers in mesa which should allow some aarch64/armhf rockchip platforms (e.g. veyron-speedy, pinebook pro) to make use of gpu acceleration. I haven't thoroughly tested this patch yet, but it does at least build and produces an appropriate dri library! There are almost 2000 dependent packages on mesa, so this probably needs though core-updates according to current recommendations... I haven't tried rebuilding all the dependent packages? FWIW, I *think* it will only trigger a rebuild on aarch64/armhf. live well, vagrant --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-gnu-mesa-Enable-rockchip-support-on-aarch64-armhf.patch Content-Transfer-Encoding: quoted-printable From=20d7c810c1a5b306439a47263ab294398d1382ecbe Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian Date: Sun, 22 Mar 2020 16:32:33 +0000 Subject: [PATCH] gnu: mesa: Enable rockchip support on aarch64/armhf. * gnu/packages/gl (mesa): Enable kmsro, lima and panfrost gallium drivers. =2D-- gnu/packages/gl.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm index 01241cd88e..710c602a96 100644 =2D-- a/gnu/packages/gl.scm +++ b/gnu/packages/gl.scm @@ -293,7 +293,7 @@ also known as DXTn or DXTC) for Mesa.") '(,@(match (%current-system) ((or "armhf-linux" "aarch64-linux") ;; TODO: Fix svga driver for aarch64 and armhf. =2D '("-Dgallium-drivers=3Detnaviv,freedreno,nouveau,r300,r600= ,swrast,tegra,v3d,vc4,virgl")) + '("-Dgallium-drivers=3Detnaviv,freedreno,kmsro,lima,nouveau,= panfrost,r300,r600,swrast,tegra,v3d,vc4,virgl")) (_ '("-Dgallium-drivers=3Diris,nouveau,r300,r600,radeonsi,svga,= swrast,virgl"))) ;; Enable various optional features. TODO: opencl requires libcl= c, =2D-=20 2.20.1 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCXng42QAKCRDcUY/If5cW qtCrAP4pY7wonx2i1eQQQpvvd0FWnXpOkizh+kQ9awkmeE5AgAD/blCYg7D8KznW jRMHwLcSlH/KNU9CK1Wvw2sqpuDytQM= =7Uhm -----END PGP SIGNATURE----- --==-=-=--