[PATCH i-g-t 1/2] tests/intel/kms_pm_rpm: Restrict cursor tests to I915 driver

Jeevan B jeevan.b at intel.com
Wed Jan 29 17:41:52 UTC 2025


change accounts for the limitations of gem_set_tiling, which
no longer works on recent platforms and will not be supported
on Xe drivers, so updated the tests to run only for i915 driver.

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

diff --git a/tests/intel/kms_pm_rpm.c b/tests/intel/kms_pm_rpm.c
index 990c50915..24f527c2a 100644
--- a/tests/intel/kms_pm_rpm.c
+++ b/tests/intel/kms_pm_rpm.c
@@ -1189,6 +1189,8 @@ static void cursor_subtest(bool dpms)
 	struct igt_fb cursor_fb1, cursor_fb2, cursor_fb3;
 	uint32_t crtc_id;
 
+	igt_require_i915(drm_fd);
+	gem_require_mappable_ggtt(drm_fd);
 	disable_all_screens_and_wait(&ms_data);
 
 	igt_require(default_mode_params);
-- 
2.25.1



More information about the igt-dev mailing list