[igt-dev] [PATCH i-g-t] tests/kms_cursor_legacy: added test description
Nidhi Gupta
nidhi1.gupta at intel.com
Fri Jan 29 04:30:37 UTC 2021
Signed-off-by: Nidhi Gupta <nidhi1.gupta at intel.com>
---
tests/kms_cursor_legacy.c | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/tests/kms_cursor_legacy.c b/tests/kms_cursor_legacy.c
index 6034ad04..95491229 100644
--- a/tests/kms_cursor_legacy.c
+++ b/tests/kms_cursor_legacy.c
@@ -1365,6 +1365,8 @@ igt_main
igt_display_require(&display, display.drm_fd);
}
+ igt_describe("Test checks how many cursor updates we can fit between vblanks"
+ "on single pipe with different modes, priority and number of processes");
igt_subtest_group {
enum pipe n;
for_each_pipe_static(n) {
@@ -1391,6 +1393,10 @@ igt_main
}
}
+ /*Test description for all-pipes-* tests*/
+ igt_describe("Test checks how many cursor updates we can fit between vblanks"
+ "on all pipes with different modes, priority and number of processes");
+
igt_subtest("all-pipes-single-bo")
stress(&display, -1, 1, DRM_MODE_CURSOR_BO, 20);
igt_subtest("all-pipes-single-move")
@@ -1412,6 +1418,10 @@ igt_main
igt_subtest("long-nonblocking-modeset-vs-cursor-atomic")
nonblocking_modeset_vs_cursor(&display, 16);
+ /*Test Description for 2x-* tests*/
+ igt_describe("This test executes flips on both CRTCs"
+ "while running cursor updates in parallel");
+
igt_subtest("2x-flip-vs-cursor-legacy")
two_screens_flip_vs_cursor(&display, 8, false, false);
@@ -1485,11 +1495,14 @@ igt_main
}
}
+ igt_describe("Each iteration tries to squeeze target number of cursor"
+ "updates in half a second worth of flips");
igt_subtest_f("%sflip-after-cursor-%s", prefix, modes[i])
basic_flip_cursor(&display, i, FLIP_AFTER_CURSOR, 0);
igt_subtest_f("flip-vs-cursor-%s", modes[i])
flip_vs_cursor(&display, i, 150);
+
igt_subtest_f("cursor-vs-flip-%s", modes[i])
cursor_vs_flip(&display, i, 50);
--
2.26.2
More information about the igt-dev
mailing list