aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2018-12-23 16:30:29 +0200
committerEfraim Flashner <efraim@flashner.co.il>2018-12-23 20:50:53 +0200
commitcd9f99f1077a97194d5737c17264b7521723f9ec (patch)
treefad67c2762cb688c5e28bf0abd168002f8608576
parent0e7e042d82f2e7975cbe331c5eb098fb7a308655 (diff)
downloadpatches-cd9f99f1077a97194d5737c17264b7521723f9ec.tar
patches-cd9f99f1077a97194d5737c17264b7521723f9ec.tar.gz
gnu: mesa: Enable more gallium drivers for armhf and aarch64.
* gnu/packages/gl.scm (mesa)[arguments]: Enable more etnaviv-based drivers on armhf-linux and aarch64-linux.
-rw-r--r--gnu/packages/gl.scm7
1 files changed, 2 insertions, 5 deletions
diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
index 1c2632b9aa..719c185482 100644
--- a/gnu/packages/gl.scm
+++ b/gnu/packages/gl.scm
@@ -271,12 +271,9 @@ also known as DXTn or DXTC) for Mesa.")
(arguments
`(#:configure-flags
'(,@(match (%current-system)
- ("armhf-linux"
- ;; TODO: Add etnaviv,imx when libdrm supports etnaviv.
- '("--with-gallium-drivers=freedreno,nouveau,r300,r600,swrast,tegra,vc4,virgl"))
- ("aarch64-linux"
+ ((or "armhf-linux" "aarch64-linux")
;; TODO: Fix svga driver for aarch64 and armhf.
- '("--with-gallium-drivers=freedreno,nouveau,pl111,r300,r600,swrast,tegra,vc4,virgl"))
+ '("--with-gallium-drivers=etnaviv,freedreno,imx,nouveau,pl111,r300,r600,swrast,tegra,v3d,vc4,virgl"))
(_
'("--with-gallium-drivers=i915,nouveau,r300,r600,radeonsi,svga,swrast,virgl")))
;; Enable various optional features. TODO: opencl requires libclc,