Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Mohammed Thasleem <mohammed.thasleem@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: Mohammed Thasleem <mohammed.thasleem@intel.com>
Subject: [PATCH i-g-t v2 1/2] tests/intel/kms_frontbuffer_tracking: Add skip condition for bmg platform
Date: Thu,  9 Jan 2025 11:23:16 +0530	[thread overview]
Message-ID: <20250109055317.404538-1-mohammed.thasleem@intel.com> (raw)

FBC test isn't supported on bmg, skip the test on this platform.

v2: Add workaround id: Wa_16023588340. (Swati)
v3: Add workaround id in code.

Signed-off-by: Mohammed Thasleem <mohammed.thasleem@intel.com>
---
 tests/intel/kms_frontbuffer_tracking.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/tests/intel/kms_frontbuffer_tracking.c b/tests/intel/kms_frontbuffer_tracking.c
index e41ee0a80..2d47194dd 100644
--- a/tests/intel/kms_frontbuffer_tracking.c
+++ b/tests/intel/kms_frontbuffer_tracking.c
@@ -2756,6 +2756,10 @@ static void prepare_subtest_data(const struct test_mode *t,
 
 static void prepare_subtest_screens(const struct test_mode *t)
 {
+	/* FBC disabled: Wa_16023588340 */
+	igt_skip_on_f((IS_BATTLEMAGE(drm.devid) && t->feature == FEATURE_FBC),
+		      "FBC isn't supported on BMG\n");
+
 	if (t->pipes == PIPE_DUAL)
 		enable_both_screens_and_wait(t);
 	else
@@ -2800,6 +2804,10 @@ static void prepare_subtest(const struct test_mode *t,
  */
 static void rte_subtest(const struct test_mode *t)
 {
+	/* FBC disabled: Wa_16023588340 */
+	igt_skip_on_f((IS_BATTLEMAGE(drm.devid) && t->feature == FEATURE_FBC),
+		      "FBC isn't supported on BMG\n");
+
 	prepare_subtest_data(t, NULL);
 
 	unset_all_crtcs();
@@ -4285,6 +4293,10 @@ igt_main_args("", long_options, help_str, opt_handler, NULL)
 			t.flip = -1;
 			t.tiling = opt.tiling;
 
+			/* FBC disabled: Wa_16023588340 */
+			igt_skip_on_f((IS_BATTLEMAGE(drm.devid) && t.feature == FEATURE_FBC),
+				      "FBC isn't supported on BMG\n");
+
 			for_each_pipe(&drm.display, pipe) {
 				if (pipe == default_pipe) {
 					igt_info("pipe-%s: FBC validated in other subtest\n", kmstest_pipe_name(pipe));
-- 
2.43.0


             reply	other threads:[~2025-01-09  5:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-09  5:53 Mohammed Thasleem [this message]
2025-01-09  5:53 ` [PATCH i-g-t v2 2/2] HAX: DO NOT MERGE Mohammed Thasleem
2025-01-09  7:12 ` ✗ Xe.CI.BAT: failure for series starting with [i-g-t,v2,1/2] tests/intel/kms_frontbuffer_tracking: Add skip condition for bmg platform Patchwork
2025-01-09  7:44 ` ✗ i915.CI.BAT: " Patchwork
2025-01-11  8:45 ` ✗ Xe.CI.Full: " Patchwork

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=20250109055317.404538-1-mohammed.thasleem@intel.com \
    --to=mohammed.thasleem@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    /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