[Mesa-dev] [PATCH 2/2] meson: Enable readeon vulkan driver on arm, aarch64

Guido Günther agx at sigxcpu.org
Fri Aug 24 12:22:06 UTC 2018


This is similar to what the Debian package does so it looks like a sane
default.

Signed-off-by: Guido Günther <guido.gunther at puri.sm>
---
 meson.build | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meson.build b/meson.build
index ccc0ed6a0ea..bf8f0770915 100644
--- a/meson.build
+++ b/meson.build
@@ -179,6 +179,8 @@ if _vulkan_drivers.contains('auto')
   if system_has_kms_drm
     if host_machine.cpu_family().startswith('x86')
       _vulkan_drivers = ['amd', 'intel']
+    elif ['arm', 'aarch64'].contains(host_machine.cpu_family())
+      _vulkan_drivers = ['amd']
     else
       error('Unknown architecture @0 at . Please pass -Dvulkan-drivers to set driver options. Patches gladly accepted to fix this.'.format(
             host_machine.cpu_family()))
-- 
2.18.0



More information about the mesa-dev mailing list