[PATCH i-g-t] tests/intel/kms_pm_rpm: Add mappable GTT check in cursor test
Jeevan B
jeevan.b at intel.com
Fri Dec 13 10:32:28 UTC 2024
Add gem_require_mappable_ggtt() check to ensure the test is executed
only on hardware supporting mappable GTT.
Signed-off-by: Jeevan B <jeevan.b at intel.com>
---
tests/intel/kms_pm_rpm.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/intel/kms_pm_rpm.c b/tests/intel/kms_pm_rpm.c
index 990c50915..16df9bbb8 100644
--- a/tests/intel/kms_pm_rpm.c
+++ b/tests/intel/kms_pm_rpm.c
@@ -1189,6 +1189,7 @@ static void cursor_subtest(bool dpms)
struct igt_fb cursor_fb1, cursor_fb2, cursor_fb3;
uint32_t crtc_id;
+ igt_require(gem_has_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