[igt-dev] [PATCH v2] tests/kms_cursor_legacy: igt_require_pipe_crc for flip-vs-cursor{-busy}-crc
Mark Yacoub
markyacoub at chromium.org
Wed Nov 3 14:59:09 UTC 2021
From: Mark Yacoub <markyacoub at google.com>
[Why]
flip_vs_cursor_crc and flip_vs_cursor_busy_crc use CRC in debugfs which is
not supported by some drivers.
[How]
igt_require_pipe_crc in igt_fixture before the subtests start.
Test: igt at kms_cursor_legacy@flip-vs-cursor{-busy}-crc-{atomic,legacy} on
ChromeOS Jacuzzi (MTK)
Signed-off-by: Mark Yacoub <markyacoub at chromium.org>
---
tests/kms_cursor_legacy.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/tests/kms_cursor_legacy.c b/tests/kms_cursor_legacy.c
index 81362807..28e89fa6 100644
--- a/tests/kms_cursor_legacy.c
+++ b/tests/kms_cursor_legacy.c
@@ -1516,6 +1516,8 @@ igt_main
/*Test description for cursor-crc tests*/
igt_describe("Test will first does a page flip and then cursor update");
igt_subtest_group {
+ igt_fixture
+ igt_require_pipe_crc(display.drm_fd);
igt_subtest("flip-vs-cursor-crc-legacy")
flip_vs_cursor_crc(&display, false);
@@ -1527,6 +1529,8 @@ igt_main
/*Test description for busy-crc tests*/
igt_describe("this test perform a busy bo update followed by a cursor update");
igt_subtest_group {
+ igt_fixture
+ igt_require_pipe_crc(display.drm_fd);
igt_subtest("flip-vs-cursor-busy-crc-legacy")
flip_vs_cursor_busy_crc(&display, false);
--
2.34.0.rc0.344.g81b53c2807-goog
More information about the igt-dev
mailing list