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

Thasleem, Mohammed mohammed.thasleem at intel.com
Wed Jan 29 12:47:24 UTC 2025



-----Original Message-----
From: igt-dev <igt-dev-bounces at lists.freedesktop.org> On Behalf Of Jeevan B
Sent: Monday, January 27, 2025 9:58 PM
To: igt-dev at lists.freedesktop.org
Cc: Heikkila, Juha-pekka <juha-pekka.heikkila at intel.com>; B S, Karthik <karthik.b.s at intel.com>; B, Jeevan <jeevan.b at intel.com>
Subject: [PATCH i-g-t 1/2] tests/intel/kms_pm_rpm: Restrict cursor tests to I915 driver
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>
LGTM.
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