meson: print warning when using i915/i965 on amber

Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19122>
This commit is contained in:
Filip Gawin 2022-10-17 18:56:27 +02:00 committed by Marge Bot
parent 54a564e679
commit acfef002a0

View file

@ -213,6 +213,12 @@ gallium_drivers = get_option('gallium-drivers')
if gallium_drivers.contains('auto')
if amber
gallium_drivers = []
if with_dri_i915
warning('End user should use i915g. i915 should only be used for regression testing.')
endif
if with_dri_i965
warning('End user should use crocus or iris. i965 should only be used for regression testing.')
endif
elif system_has_kms_drm
# TODO: PPC, Sparc
if ['x86', 'x86_64'].contains(host_machine.cpu_family())