Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t 1/2] tests/intel/kms_frontbuffer_tracking: Add skip condition for bmg platform
@ 2025-01-08 20:39 Mohammed Thasleem
  2025-01-08 20:39 ` [PATCH i-g-t 2/2] HAX: DO NOT MERGE Mohammed Thasleem
  2025-01-08 22:50 ` ✗ Fi.CI.BUILD: failure for series starting with [i-g-t,1/2] tests/intel/kms_frontbuffer_tracking: Add skip condition for bmg platform Patchwork
  0 siblings, 2 replies; 3+ messages in thread
From: Mohammed Thasleem @ 2025-01-08 20:39 UTC (permalink / raw)
  To: igt-dev; +Cc: Mohammed Thasleem

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 3d833864a..21bbaf61e 100644
--- a/tests/intel/kms_frontbuffer_tracking.c
+++ b/tests/intel/kms_frontbuffer_tracking.c
@@ -2755,6 +2755,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
@@ -2799,6 +2803,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();
@@ -4294,6 +4302,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.34.1


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

end of thread, other threads:[~2025-01-08 22:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-08 20:39 [PATCH i-g-t 1/2] tests/intel/kms_frontbuffer_tracking: Add skip condition for bmg platform Mohammed Thasleem
2025-01-08 20:39 ` [PATCH i-g-t 2/2] HAX: DO NOT MERGE Mohammed Thasleem
2025-01-08 22:50 ` ✗ Fi.CI.BUILD: failure for series starting with [i-g-t,1/2] tests/intel/kms_frontbuffer_tracking: Add skip condition for bmg platform Patchwork

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