summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJanga Rahul Kumar <janga.rahul.kumar@intel.com>2022-06-28 10:51:50 +0530
committerSai Gowtham Ch <sai.gowtham.ch@intel.com>2022-06-28 15:31:39 +0530
commit993b2f778807b01f372f3d6536d473aae4d00a8b (patch)
tree43d99e15a407df870349742e207ec84ff2e71408
parentdff2d8a8f0b395cdf006e82ad1ec623400ab7443 (diff)
tests/i915/gem_exec_parallel : Add subtests description
Add test description to all the available subtests. v2 : Modified test description. Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com> Signed-off-by: Janga Rahul Kumar <janga.rahul.kumar@intel.com> Reviewed-by: Kamil Konieczny <kamil.konieczny@linux.intel.com>
-rw-r--r--tests/i915/gem_exec_parallel.c13
1 files 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))