public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH i-g-t] tests/kms_rotation_crc: Add vblank wait for multiplane rotation synchronization
@ 2026-02-17  6:08 Jeevan B
  2026-02-17 15:04 ` ✓ Xe.CI.BAT: success for " Patchwork
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Jeevan B @ 2026-02-17  6:08 UTC (permalink / raw)
  To: igt-dev; +Cc: karthik.b.s, Jeevan B

Add explicit vblank wait after atomic commit in test_multi_plane_rotation()
to ensure both planes are fully synchronized before CRC capture. This fixes
sporadic CRC mismatches observed on CI.

Closes: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6946
Signed-off-by: Jeevan B <jeevan.b@intel.com>
---
 tests/kms_rotation_crc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/kms_rotation_crc.c b/tests/kms_rotation_crc.c
index 8721a8311..93e5c3e91 100644
--- a/tests/kms_rotation_crc.c
+++ b/tests/kms_rotation_crc.c
@@ -1032,6 +1032,7 @@ static void test_multi_plane_rotation(data_t *data, enum pipe pipe)
 							continue;
 
 						igt_display_commit_atomic(display, DRM_MODE_ATOMIC_ALLOW_MODESET, NULL);
+						igt_wait_for_vblank(crtc);
 						fliphw = kmstest_get_vblank(data->gfx_fd,
 									    crtc->pipe,
 									    0) + 1;
-- 
2.43.0


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

end of thread, other threads:[~2026-03-23  3:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-17  6:08 [PATCH i-g-t] tests/kms_rotation_crc: Add vblank wait for multiplane rotation synchronization Jeevan B
2026-02-17 15:04 ` ✓ Xe.CI.BAT: success for " Patchwork
2026-02-17 15:21 ` ✓ i915.CI.BAT: " Patchwork
2026-02-17 18:52 ` ✓ Xe.CI.FULL: " Patchwork
2026-02-20 11:46 ` [PATCH i-g-t] " Sharma, Swati2
2026-03-23  3:23   ` B, Jeevan

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