From acfef002a081f36e6eebc6e8ab908a36ab18f68c Mon Sep 17 00:00:00 2001 From: Filip Gawin Date: Mon, 17 Oct 2022 18:56:27 +0200 Subject: [PATCH] meson: print warning when using i915/i965 on amber Reviewed-by: Adam Jackson Part-of: --- meson.build | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/meson.build b/meson.build index 07c77e17a65..9b0ca5c8384 100644 --- a/meson.build +++ b/meson.build @@ -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())