all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Vagrant Cascadian <vagrant@debian.org>
To: 40191@debbugs.gnu.org
Subject: [bug#40191] mesa: Support rockchip platforms
Date: Sun, 22 Mar 2020 21:19:37 -0700	[thread overview]
Message-ID: <87imivbt46.fsf@yucca> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 559 bytes --]

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


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-gnu-mesa-Enable-rockchip-support-on-aarch64-armhf.patch --]
[-- Type: text/x-diff, Size: 1180 bytes --]

From d7c810c1a5b306439a47263ab294398d1382ecbe Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@debian.org>
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.
---
 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
--- 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.
-              '("-Dgallium-drivers=etnaviv,freedreno,nouveau,r300,r600,swrast,tegra,v3d,vc4,virgl"))
+              '("-Dgallium-drivers=etnaviv,freedreno,kmsro,lima,nouveau,panfrost,r300,r600,swrast,tegra,v3d,vc4,virgl"))
              (_
               '("-Dgallium-drivers=iris,nouveau,r300,r600,radeonsi,svga,swrast,virgl")))
          ;; Enable various optional features.  TODO: opencl requires libclc,
-- 
2.20.1


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

             reply	other threads:[~2020-03-23  4:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-23  4:19 Vagrant Cascadian [this message]
2020-03-29 20:13 ` [bug#40191] mesa: Support rockchip platforms Marius Bakke
2020-03-29 22:00   ` bug#40191: " Vagrant Cascadian

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87imivbt46.fsf@yucca \
    --to=vagrant@debian.org \
    --cc=40191@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.