mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 07:20:10 +01:00
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:
parent
54a564e679
commit
acfef002a0
1 changed files with 6 additions and 0 deletions
|
|
@ -213,6 +213,12 @@ gallium_drivers = get_option('gallium-drivers')
|
||||||
if gallium_drivers.contains('auto')
|
if gallium_drivers.contains('auto')
|
||||||
if amber
|
if amber
|
||||||
gallium_drivers = []
|
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
|
elif system_has_kms_drm
|
||||||
# TODO: PPC, Sparc
|
# TODO: PPC, Sparc
|
||||||
if ['x86', 'x86_64'].contains(host_machine.cpu_family())
|
if ['x86', 'x86_64'].contains(host_machine.cpu_family())
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue