[PATCH i-g-t v10 5/5] tests/kms_async_flips: Skip Async Flips with Linear Modifier

Santhosh Reddy Guddati santhosh.reddy.guddati at intel.com
Wed May 21 10:53:08 UTC 2025


Skip linear modifier async flip subtests on intel platforms with display
version less than 12.

Signed-off-by: Santhosh Reddy Guddati <santhosh.reddy.guddati at intel.com>
---
 tests/kms_async_flips.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/tests/kms_async_flips.c b/tests/kms_async_flips.c
index f824f60f9..66dbbd5ab 100644
--- a/tests/kms_async_flips.c
+++ b/tests/kms_async_flips.c
@@ -988,6 +988,9 @@ igt_main
 		igt_describe("Wait for page flip events in between successive asynchronous "
 			     "flips with linear modifiers");
 		igt_subtest_with_dynamic("async-flip-with-page-flip-events-linear") {
+			if (is_intel_device(data.drm_fd) &&
+			    intel_display_ver(intel_get_drm_devid(data.drm_fd)) < 12)
+				igt_skip("Async Flips with linear is not supported");
 			test_init_ops(&data);
 			data.linear_modifier = true;
 			run_test(&data, test_async_flip);
@@ -996,6 +999,9 @@ igt_main
 		igt_describe("Wait for page flip events in between successive asynchronous "
 			     "flips using atomic path with linear modifiers");
 		igt_subtest_with_dynamic("async-flip-with-page-flip-events-linear-atomic") {
+			if (is_intel_device(data.drm_fd) &&
+			    intel_display_ver(intel_get_drm_devid(data.drm_fd)) < 12)
+				igt_skip("Async Flips with linear is not supported");
 			test_init_ops(&data);
 			data.linear_modifier = true;
 			run_test(&data, test_async_flip);
-- 
2.34.1



More information about the igt-dev mailing list