Module: Mesa Branch: master Commit: d7603cb518cf1e0bf2c07d6ce4b139bf075b3980 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d7603cb518cf1e0bf2c07d6ce4b139bf075b3980
Author: Daniel Stone <dani...@collabora.com> Date: Tue Feb 27 10:00:24 2018 +0000 meson: Add default DRI drivers for ARM/AArch64 On all Arm architectures (ARMv7 and below as 'arm', ARMv8 and above as 'aarch64'), only build swrast for DRI drivers. The only classic drivers which could be used are r200 and NV20 cards, which seems unlikely enough that it shouldn't be the default. Signed-off-by: Daniel Stone <dani...@collabora.com> Reported-by: Javier Jardón <jjar...@gnome.org> Reviewed-by: Dylan Baker <dy...@pnwbakers.com> Reviewed-by: Eric Engestrom <eric.engest...@imgtec.com> --- meson.build | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meson.build b/meson.build index a59736f50a..88e90fe811 100644 --- a/meson.build +++ b/meson.build @@ -104,6 +104,8 @@ if _drivers == 'auto' # TODO: PPC, Sparc if ['x86', 'x86_64'].contains(host_machine.cpu_family()) _drivers = 'i915,i965,r100,r200,nouveau' + elif ['arm', 'aarch64'].contains(host_machine.cpu_family()) + _drivers = '' else error('Unknown architecture. Please pass -Ddri-drivers to set driver options. Patches gladly accepted to fix this.') endif _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-commit