[PATCH i-g-t] tests/intel/kms_frontbuffer_tracking: Add skip condition for bmg platform

Mohammed Thasleem mohammed.thasleem at intel.com
Wed Nov 13 17:52:19 UTC 2024


FBC test isn't supported on bmg, skip the test on this platform.

Signed-off-by: Mohammed Thasleem <mohammed.thasleem at intel.com>
---
 tests/intel/kms_frontbuffer_tracking.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/intel/kms_frontbuffer_tracking.c b/tests/intel/kms_frontbuffer_tracking.c
index b7e3f7379..8ba1faf69 100644
--- a/tests/intel/kms_frontbuffer_tracking.c
+++ b/tests/intel/kms_frontbuffer_tracking.c
@@ -4471,6 +4471,8 @@ igt_main_args("", long_options, help_str, opt_handler, NULL)
 		setup_environment();
 		drm.devid = intel_get_drm_devid(drm.fd);
 		drm.display_ver = intel_display_ver(drm.devid);
+		igt_require_f(drm.display_ver != 14,
+			      "FBC isn't supported on BMG\n");
 	}
 
 	for (t.feature = 0; t.feature < FEATURE_COUNT; t.feature++) {
-- 
2.25.1



More information about the igt-dev mailing list