summaryrefslogtreecommitdiff
path: root/tests/kms_cursor_legacy.c
diff options
context:
space:
mode:
authorVidya Srinivas <vidya.srinivas@intel.com>2021-09-16 19:57:22 +0530
committerMark Yacoub <markyacoub@google.com>2021-09-20 15:22:43 +0000
commite9ae59cb8b4f1e7bc61a9261f33fc7e52ae06c65 (patch)
tree6e1e3d255fd317f138ef5fd4ef2eacb28450c458 /tests/kms_cursor_legacy.c
parent0faa6b2533da9416a3428c34ca99661725577449 (diff)
tests/kms_cursor_legacy: Fix CRC mismatch for flip-vs-cursor-busy-crc-*
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@intel.com> Reviewed-by: Bhanuprakash Modem <Bhanuprakash.modem@intel.com>
Diffstat (limited to 'tests/kms_cursor_legacy.c')
-rw-r--r--tests/kms_cursor_legacy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/kms_cursor_legacy.c b/tests/kms_cursor_legacy.c
index 3ddea9c3..81362807 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);