Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6E2B011ABA2 for ; Mon, 27 Jun 2022 18:14:54 +0000 (UTC) Date: Mon, 27 Jun 2022 20:14:33 +0200 From: Kamil Konieczny To: igt-dev@lists.freedesktop.org Message-ID: References: <20220627064347.3707017-1-janga.rahul.kumar@intel.com> <20220627064347.3707017-2-janga.rahul.kumar@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20220627064347.3707017-2-janga.rahul.kumar@intel.com> Subject: Re: [igt-dev] [PATCH 1/2] tests/i915/gem_exec_parallel : Add subtests description List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Janga Rahul Kumar Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" List-ID: Hi Janga, On 2022-06-27 at 12:13:46 +0530, janga.rahul.kumar@intel.com wrote: > From: Janga Rahul Kumar > > Add test description to all the available subtests. > > Cc: Kamil Konieczny > Signed-off-by: Janga Rahul Kumar > --- > 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..687ca70c 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 to fill buffers using many clients working in parallel."); s/to fill/filling/ s/using/by/ With that fixed you can add my r-b tag. Regards, Kamil > + > #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)) > -- > 2.25.1 >