[igt-dev] [PATCH i-g-t 1/2] i915/gem_exec_gttfill: Added test description for test case.

Kamil Konieczny kamil.konieczny at linux.intel.com
Thu May 19 11:57:17 UTC 2022


On 2022-05-18 at 19:29:07 +0530, sai.gowtham.ch at intel.com wrote:
> From: Sai Gowtham Ch <sai.gowtham.ch at intel.com>
> 
> Added test description to all the available subtests.
> 
> Cc: Kamil Konieczny <kamil.konieczny at linux.intel.com>
> Signed-off-by: Sai Gowtham Ch <sai.gowtham.ch at intel.com>

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

--
Kamil

> ---
>  tests/i915/gem_exec_gttfill.c | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/tests/i915/gem_exec_gttfill.c b/tests/i915/gem_exec_gttfill.c
> index ebe6d2d3..4557142d 100644
> --- a/tests/i915/gem_exec_gttfill.c
> +++ b/tests/i915/gem_exec_gttfill.c
> @@ -236,9 +236,12 @@ igt_main
>  		intel_allocator_multiprocess_start();
>  	}
>  
> +	igt_describe("Checks if it can handle enough batches to fill gtt");
>  	igt_subtest("basic") /* just enough to run a single pass */
>  		fillgtt(i915, ctx, ALL_ENGINES, 1);
>  
> +	igt_describe("Checks the correctness of handling enough batches "
> +		     "to fill gtt for each engine");
>  	igt_subtest_with_dynamic("engines") {
>  		for_each_ctx_engine(i915, ctx, e) {
>  			if (!gem_class_can_store_dword(i915, e->class))
> @@ -249,6 +252,8 @@ igt_main
>  		}
>  	}
>  
> +	igt_describe("Stress test check behaviour/correctness of handling"
> +		     " batches to fill gtt");
>  	igt_subtest("all")
>  		fillgtt(i915, ctx, ALL_ENGINES, 20);
>  
> -- 
> 2.35.1
> 


More information about the igt-dev mailing list