[igt-dev] [PATCH i-g-t v2 1/2] i915/gem_eio: Exercise object creation while wedged

Kamil Konieczny kamil.konieczny at linux.intel.com
Wed Mar 9 17:08:56 UTC 2022


Hi,

Dnia 2022-03-08 at 20:19:13 +0530, Anshuman Gupta napisał(a):
> From: Chris Wilson <chris at chris-wilson.co.uk>
> 
> Make sure that we can continue to create buffers, primarily to service as
> frameuffers for scanout, even while the device is wedged.
-------^
framebuffers

> 
> v2:
> - Deleted gem_memory_topology.[ch] and moved it's content
>   to intel_memory_region.[ch]. [Ashutosh]
> - Fixed checkpatch.pl wanring.
> 
> Cc: CQ Tang <cq.tang at intel.com>
> Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
> Signed-off-by: Anshuman Gupta <anshuman.gupta at intel.com>
> ---
>  lib/i915/intel_memory_region.c | 51 ++++++++++++++++++++++++++++++++++
>  lib/i915/intel_memory_region.h | 14 ++++++++++
>  tests/i915/gem_eio.c           | 39 ++++++++++++++++++++++++++
>  3 files changed, 104 insertions(+)
> 

<cut>

>  static void test_context_create(int fd)
>  {
>  	uint32_t ctx;
> @@ -997,6 +1030,12 @@ igt_main
>  	igt_subtest("throttle")
>  		test_throttle(fd);
>  

Please add description before test with igt_describe().

> +	igt_subtest("create")
> +		test_create(fd);
> +

Same here.

> +	igt_subtest("create-ext")
> +		test_create_ext(fd);
> +
>  	igt_subtest("context-create")
>  		test_context_create(fd);
>  
> -- 
> 2.26.2
>
Regards,
Kamil
 


More information about the igt-dev mailing list