[Mesa-dev] [PATCH 1/2] meson: require libdrm for gallium svga or virgl

Dylan Baker dylan at pnwbakers.com
Thu Jul 18 16:16:05 UTC 2019


Quoting Alyssa Ross (2019-07-18 07:15:13)
> A build with svga or virgl, but without DRI or Vulkan, still requires
> libdrm, but this wasn't caught by meson.
> ---
>  meson.build | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meson.build b/meson.build
> index 13b561f99de..52dd5be25e7 100644
> --- a/meson.build
> +++ b/meson.build
> @@ -1185,7 +1185,7 @@ endforeach
>  with_gallium_drisw_kms = false
>  dep_libdrm = dependency(
>    'libdrm', version : '>=' + _drm_ver,
> -  required : with_dri2 or with_dri3
> +  required : with_dri2 or with_dri3 or with_gallium_freedreno or with_gallium_svga or with_gallium_virgl
>  )
>  if dep_libdrm.found()
>    pre_args += '-DHAVE_LIBDRM'
> -- 
> 2.22.0
> 

for this patch:
Reviewed-by: Dylan Baker <dylan at pnwbakers.com>
-------------- 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/20190718/96798a8b/attachment.sig>


More information about the mesa-dev mailing list