[igt-dev] [PATCH i-g-t] tests/kms_cursor_legacy: Fix CRC mismatch for flip-vs-cursor-busy-crc-*

Vidya Srinivas vidya.srinivas at intel.com
Thu Sep 16 14:27:22 UTC 2021


Few variants of Intel devices are failing randomly with CRC mismatch for
flip-vs-cursor-busy-crc-atomic and flip-vs-cursor-busy-crc-legacy.
Patch adds stop of CRC collection to fix this issue.

Signed-off-by: Vidya Srinivas <vidya.srinivas at intel.com>
---
 tests/kms_cursor_legacy.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/kms_cursor_legacy.c b/tests/kms_cursor_legacy.c
index 3ddea9c35340..8136280701e6 100644
--- a/tests/kms_cursor_legacy.c
+++ b/tests/kms_cursor_legacy.c
@@ -1401,6 +1401,7 @@ static void flip_vs_cursor_busy_crc(igt_display_t *display, bool atomic)
 		igt_assert_crc_equal(&crcs[i], &test_crc);
 	}
 
+	igt_pipe_crc_stop(pipe_crc);
 	igt_remove_fb(display->drm_fd, &fb_info[1]);
 	igt_remove_fb(display->drm_fd, &fb_info[0]);
 	igt_remove_fb(display->drm_fd, &cursor_fb);
-- 
2.33.0



More information about the igt-dev mailing list