[Mesa-dev] [PATCH 3/4] meson: build r200 driver

Eric Anholt eric at anholt.net
Tue Oct 17 20:06:55 UTC 2017


Dylan Baker <dylan at pnwbakers.com> writes:

> Build tested only
>
> Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
> ---
>  meson.build                           |  4 +-
>  meson_options.txt                     |  2 +-
>  src/mesa/drivers/dri/meson.build      |  3 ++
>  src/mesa/drivers/dri/r200/meson.build | 91 +++++++++++++++++++++++++++++++++++
>  4 files changed, 98 insertions(+), 2 deletions(-)
>  create mode 100644 src/mesa/drivers/dri/r200/meson.build
>
> diff --git a/meson.build b/meson.build
> index e7f16767297..8761fce3dff 100644
> --- a/meson.build
> +++ b/meson.build
> @@ -81,6 +81,7 @@ with_dri = false
>  with_dri_i915 = false
>  with_dri_i965 = false
>  with_dri_r100 = false
> +with_dri_r200 = false
>  with_dri_swrast = false
>  _drivers = get_option('dri-drivers')
>  if _drivers != ''
> @@ -88,6 +89,7 @@ if _drivers != ''
>    with_dri_i915 = _split.contains('i915')
>    with_dri_i965 = _split.contains('i965')
>    with_dri_r100 = _split.contains('r100')
> +  with_dri_r200 = _split.contains('r200')
>    with_dri_swrast = _split.contains('swrast')
>    with_dri = true
>  endif
> @@ -563,7 +565,7 @@ dep_libdrm_nouveau = []
>  if with_amd_vk or with_gallium_radeonsi
>    dep_libdrm_amdgpu = dependency('libdrm_amdgpu', version : '>= 2.4.84')
>  endif
> -if with_gallium_radeonsi or with_dri_r100 # older radeon too
> +if with_gallium_radeonsi or with_dri_r100 or with_dri_r200 # older radeon too
>    dep_libdrm_radeon = dependency('libdrm_radeon', version : '>= 2.4.71')
>  endif

Now that there is older radeon being handled, I think the comment can be
removed.

Other than that, the series is:

Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20171017/45c89e2a/attachment.sig>


More information about the mesa-dev mailing list