[igt-dev] [i-g-t V5 32/47] tests/kms_concurrent: Add XE support

Bhanuprakash Modem bhanuprakash.modem at intel.com
Fri Apr 28 07:13:35 UTC 2023


Add XE driver support for kms tests.

Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem at intel.com>
Reviewed-by: Kunal Joshi <kunal1.joshi at intel.com>
---
 tests/kms_concurrent.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/kms_concurrent.c b/tests/kms_concurrent.c
index e6d61a84d..e1e581723 100644
--- a/tests/kms_concurrent.c
+++ b/tests/kms_concurrent.c
@@ -387,7 +387,7 @@ igt_main_args("", long_options, help_str, opt_handler, NULL)
 		kmstest_set_vt_graphics_mode();
 		igt_display_require(&data.display, data.drm_fd);
 		igt_require(data.display.is_atomic);
-		if (is_i915_device(data.drm_fd))
+		if (is_intel_device(data.drm_fd))
 			intel_allocator_multiprocess_start();
 	}
 
@@ -397,7 +397,7 @@ igt_main_args("", long_options, help_str, opt_handler, NULL)
 	}
 
 	igt_fixture {
-		if (is_i915_device(data.drm_fd))
+		if (is_intel_device(data.drm_fd))
 			intel_allocator_multiprocess_stop();
 		igt_display_fini(&data.display);
 		close(data.drm_fd);
-- 
2.40.0



More information about the igt-dev mailing list