Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Jeevan B <jeevan.b@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: juha-pekka.heikkila@intel.com, Jeevan B <jeevan.b@intel.com>
Subject: [PATCH i-g-t] tests/intel/kms_pm_rpm: Add mappable GTT check in cursor test
Date: Fri, 13 Dec 2024 16:02:28 +0530	[thread overview]
Message-ID: <20241213103228.1920627-1-jeevan.b@intel.com> (raw)

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


             reply	other threads:[~2024-12-13 10:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-13 10:32 Jeevan B [this message]
2024-12-13 20:14 ` ✓ i915.CI.BAT: success for tests/intel/kms_pm_rpm: Add mappable GTT check in cursor test 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241213103228.1920627-1-jeevan.b@intel.com \
    --to=jeevan.b@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=juha-pekka.heikkila@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox