[igt-dev] [PATCH i-g-t 1/2] i915/kms_chamelium: Require gen < 9 for VGA testing

Stuart Summers stuart.summers at intel.com
Fri Feb 15 00:40:42 UTC 2019


From: Stuart Summers <jssummer at jssummer-desk1.amr.corp.intel.com>

VGA not supported on gen 9 and above. Add an explicit requirement
to skip VGA tests to a Chamelium on later gens.

Signed-off-by: Stuart Summers <stuart.summers at intel.com>
---
 tests/kms_chamelium.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/kms_chamelium.c b/tests/kms_chamelium.c
index 64f87d3ae..ab89c5d47 100644
--- a/tests/kms_chamelium.c
+++ b/tests/kms_chamelium.c
@@ -1015,6 +1015,8 @@ igt_main
 
 	igt_subtest_group {
 		igt_fixture {
+			int gen = intel_gen(intel_get_drm_devid(data.drm_fd));
+			igt_require_f(gen < 9, "VGA not supported\n");
 			require_connector_present(
 			    &data, DRM_MODE_CONNECTOR_VGA);
 		}
-- 
2.20.1



More information about the igt-dev mailing list