[igt-dev] [PATCH i-g-t v4 05/11] i915/gem_ctx_*: better document i915 context tests

Mauro Carvalho Chehab mauro.chehab at linux.intel.com
Fri May 26 06:13:18 UTC 2023


On Thu, 25 May 2023 21:55:17 +0200
Kamil Konieczny <kamil.konieczny at linux.intel.com> wrote:

> Hi Mauro,
> 
> On 2023-05-25 at 11:05:29 +0200, Mauro Carvalho Chehab wrote:
> > From: Mauro Carvalho Chehab <mchehab at kernel.org>
> > 
> > Merge data from some ancillary internal documentation to improve
> > i915 gem_ctx test descriptions.
> > 
> > This patch was auto-generated via script.
> > 
> > Signed-off-by: Mauro Carvalho Chehab <mchehab at kernel.org>
> > ---
> >  tests/i915/gem_ctx_bad_destroy.c |   4 ++
> >  tests/i915/gem_ctx_create.c      |  22 +++++-
> >  tests/i915/gem_ctx_engines.c     |   4 ++
> >  tests/i915/gem_ctx_exec.c        |  28 +++++++-
> >  tests/i915/gem_ctx_freq.c        |   4 ++
> >  tests/i915/gem_ctx_isolation.c   |  38 ++++++++++-
> >  tests/i915/gem_ctx_param.c       |  76 +++++++++++++++++++++
> >  tests/i915/gem_ctx_persistence.c | 112 +++++++++++++++++++++++++++++++
> >  tests/i915/gem_ctx_shared.c      |  37 +++++++++-
> >  9 files changed, 321 insertions(+), 4 deletions(-)

...

> > diff --git a/tests/i915/gem_ctx_isolation.c b/tests/i915/gem_ctx_isolation.c
> > index 2c2da296d301..d50a90597e6f 100644

...

> >   * SUBTEST: preservation
> > + * Category: Infrastructure
> > + * Feature: context
> > + * Functionality: security
> > + * Sub-category: HW
> > + * Test category: GEM_Legacy
> >   *
> >   * SUBTEST: preservation-S3
> > + * Feature: context  
> 
> No other fields here?
> 
> >   *
> >   * SUBTEST: preservation-S4
> > + * Feature: context  
> 
> Same here, imho we can correct that later.

Agreed. Not all tests are documented with the same level of information.
By placing what we have at the source files, it should be easier to
keep them with the same level or details later on.

> 
> Reviewed-by: Kamil Konieczny <kamil.konieczny at linux.intel.com>

Thanks!

Regards,
Mauro


More information about the igt-dev mailing list