Skip to contentSkip to conversation

tests/intel/kms_frontbuffer_tracking: Remove FBC modulo 4 restriction for ADL+

PATCH New Uma Shankar 1 participant 1 message Sep 2, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tests/intel/kms_frontbuffer_tracking: Remove FBC modulo 4 restriction for ADL+

FBC restriction where FBC is disabled for non-modulo 4 plane size (including plane size + yoffset) is fixed from ADL onwards in h/w. WA:22010751166

Relax the restriction for the same.

---
 tests/intel/kms_frontbuffer_tracking.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
tests/intel/kms_frontbuffer_tracking.c +3 -3
index 061e996cc..a97001770 100644
@@ -3496,8 +3496,8 @@ static void scaledprimary_subtest(const struct test_mode *t)
 	do_assertions(DONT_ASSERT_CRC);
 
 	/*
-	 * On gen >= 9 HW, FBC is not enabled on a plane with a Y offset
-	 * that isn't divisible by 4, because it causes FIFO underruns.
+	 * On gen >= 9 and till gen12 HW, FBC is not enabled on a plane with
+	 * a Y offset that isn't divisible by 4, because it causes FIFO underruns.
 	 *
 	 * Check that FBC is disabled.
 	 */
@@ -3505,7 +3505,7 @@ static void scaledprimary_subtest(const struct test_mode *t)
 			    reg->x + reg->w / 4, (reg->y + src_y_upscale) | 3);
 	igt_fb_set_size(&new_fb, reg->plane, reg->w / 2, reg->h / 2);
 	igt_display_commit2(&drm.display, COMMIT_UNIVERSAL);
-	do_assertions(DONT_ASSERT_CRC | (gen >= 9 ? ASSERT_FBC_DISABLED : 0));
+	do_assertions(DONT_ASSERT_CRC | ((gen >= 9 && gen <= 12) ? ASSERT_FBC_DISABLED : 0));
 
 	/* Back to the good and old blue fb. */
 	igt_plane_set_fb(reg->plane, old_fb);
Signature · 1 line
2.42.0