[igt-dev] [i-g-t V3 27/45] tests/kms_async_flips: No XE support

Bhanuprakash Modem bhanuprakash.modem at intel.com
Wed Apr 26 11:47:07 UTC 2023


Async flips won't work with linear buffers on Intel hardware,
hence don't run tests on XE device as XE won't support tiling.

Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem at intel.com>
Reviewed-by: Karthik B S <karthik.b.s at intel.com>
---
 tests/kms_async_flips.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/tests/kms_async_flips.c b/tests/kms_async_flips.c
index 1e6506e3d..51ffa523a 100644
--- a/tests/kms_async_flips.c
+++ b/tests/kms_async_flips.c
@@ -592,7 +592,13 @@ igt_main_args("e", NULL, help_str, opt_handler, &data)
 	int i;
 
 	igt_fixture {
-		data.drm_fd = drm_open_driver_master(DRIVER_ANY);
+		/*
+		 * FIXME: As of now, Async flips won't work with linear buffers
+		 * on Intel hardware, hence don't run tests on XE device as XE
+		 * won't support tiling.
+		 * Once Kernel changes got landed, please update this logic.
+		 */
+		data.drm_fd = drm_open_driver_master(DRIVER_ANY & ~DRIVER_XE);
 		kmstest_set_vt_graphics_mode();
 		igt_display_require(&data.display, data.drm_fd);
 		igt_display_require_output(&data.display);
-- 
2.40.0



More information about the igt-dev mailing list