summaryrefslogtreecommitdiff
path: root/tests/kms_async_flips.c
diff options
context:
space:
mode:
authorBhanuprakash Modem <bhanuprakash.modem@intel.com>2023-04-28 12:43:32 +0530
committerBhanuprakash Modem <bhanuprakash.modem@intel.com>2023-04-28 19:44:22 +0530
commitf7c7e6f0205790df0fff053a2f4e4c1f548b6779 (patch)
treea7f4bc0b44e5e604f8f13b7bd530a043e4a8a174 /tests/kms_async_flips.c
parentc93e345203e2e1842b63fff7930d1978d9973373 (diff)
tests/kms_async_flips: No XE support
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@intel.com> Reviewed-by: Karthik B S <karthik.b.s@intel.com>
Diffstat (limited to 'tests/kms_async_flips.c')
-rw-r--r--tests/kms_async_flips.c8
1 files changed, 7 insertions, 1 deletions
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);