[Mesa-dev] [PATCH v2 1/2] meson: Add default DRI drivers for ARM/AArch64

Dylan Baker dylan at pnwbakers.com
Tue Feb 27 18:06:58 UTC 2018


For the series:
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>

Quoting Daniel Stone (2018-02-27 10:01:11)
> 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 <daniels at collabora.com>
> Reported-by: Javier Jard�n <jjardon at gnome.org>
> Cc: Dylan Baker <dylan at pnwbakers.com>
> ---
>  meson.build | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/meson.build b/meson.build
> index 6f2615f9d17..c349e9e5f85 100644
> --- a/meson.build
> +++ b/meson.build
> @@ -100,6 +100,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
> -- 
> 2.14.3
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: signature
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180227/084109ca/attachment.sig>


More information about the mesa-dev mailing list