From 993b2f778807b01f372f3d6536d473aae4d00a8b Mon Sep 17 00:00:00 2001 From: Janga Rahul Kumar Date: Tue, 28 Jun 2022 10:51:50 +0530 Subject: tests/i915/gem_exec_parallel : Add subtests description Add test description to all the available subtests. v2 : Modified test description. Cc: Kamil Konieczny Signed-off-by: Janga Rahul Kumar Reviewed-by: Kamil Konieczny --- tests/i915/gem_exec_parallel.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/tests/i915/gem_exec_parallel.c b/tests/i915/gem_exec_parallel.c index 1dfbaa24..730fc4a6 100644 --- a/tests/i915/gem_exec_parallel.c +++ b/tests/i915/gem_exec_parallel.c @@ -34,6 +34,8 @@ #include "igt.h" #include "igt_gt.h" +IGT_TEST_DESCRIPTION("Exercise filling buffers by many clients working in parallel."); + #define ENGINE_MASK (I915_EXEC_RING_MASK | I915_EXEC_BSD_MASK) #define VERIFY 0 @@ -309,11 +311,12 @@ igt_main const struct mode { const char *name; unsigned flags; + const char *describe; } modes[] = { - { "basic", 0 }, - { "contexts", CONTEXTS }, - { "fds", FDS }, - { "userptr", USERPTR }, + { "basic", 0, "Check basic functionality per engine." }, + { "contexts", CONTEXTS, "Check with many contexts." }, + { "fds", FDS, "Check with many fds." }, + { "userptr", USERPTR, "Check basic userptr thrashing." }, { NULL } }; const intel_ctx_t *ctx; @@ -327,6 +330,7 @@ igt_main igt_fork_hang_detector(fd); } + igt_describe("Check with engines working in parallel."); igt_subtest_with_dynamic("engines") { for (const struct mode *m = modes; m->name; m++) igt_dynamic(m->name) @@ -335,6 +339,7 @@ igt_main } for (const struct mode *m = modes; m->name; m++) { + igt_describe(m->describe); igt_subtest_with_dynamic(m->name) { for_each_ctx_engine(fd, ctx, e) { if (gem_class_can_store_dword(fd, e->class)) -- cgit v1.2.3