Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t] tests/intel/kms_pm_rpm: Add mappable GTT check in cursor test
@ 2024-12-13 10:32 Jeevan B
  2024-12-13 20:14 ` ✓ i915.CI.BAT: success for " Patchwork
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Jeevan B @ 2024-12-13 10:32 UTC (permalink / raw)
  To: igt-dev; +Cc: juha-pekka.heikkila, Jeevan B

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@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


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-01-03  4:31 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-13 10:32 [PATCH i-g-t] tests/intel/kms_pm_rpm: Add mappable GTT check in cursor test Jeevan B
2024-12-13 20:14 ` ✓ i915.CI.BAT: success for " Patchwork
2024-12-13 21:26 ` ✓ Xe.CI.BAT: " Patchwork
2024-12-14  5:57 ` ✗ i915.CI.Full: failure " Patchwork
2025-01-03  4:30   ` B, Jeevan
2024-12-14 11:31 ` ✗ Xe.CI.Full: " Patchwork
2025-01-03  4:30   ` B, Jeevan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox