[igt-dev] [PATCH i-g-t] i915/gem_tiled_fence_blits: Added test description for test case

Katarzyna Dec katarzyna.dec at intel.com
Fri Nov 20 14:50:20 UTC 2020


On Mon, Nov 02, 2020 at 08:49:12PM +0530, apoorva1.singh at intel.com wrote:
> From: Apoorva Singh <apoorva1.singh at intel.com>
> 
> Added test and subtests description
> 
> Signed-off-by: Apoorva Singh <apoorva1.singh at intel.com>
> Cc: Melkaveri, Arjun <arjun.melkaveri at intel.com>
> ---
>  tests/i915/gem_tiled_fence_blits.c | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/tests/i915/gem_tiled_fence_blits.c b/tests/i915/gem_tiled_fence_blits.c
> index 0a633d91..433bf7b1 100644
> --- a/tests/i915/gem_tiled_fence_blits.c
> +++ b/tests/i915/gem_tiled_fence_blits.c
> @@ -45,6 +45,9 @@
>  #include "igt.h"
>  #include "igt_x86.h"
>  
> +IGT_TEST_DESCRIPTION("Test doing many tiled blits, with a working set larger"
> +		     " than the mappable aperture size.");
> +
>  enum { width = 512, height = 512 };
>  static uint32_t linear[width * height];
>  static const int bo_size = sizeof(linear);
> @@ -236,9 +239,14 @@ igt_main
>  		count = (count + ncpus - 1) / ncpus;
>  	}
>  
> +	igt_describe("Validates the content of small number of tiled buffer objects "
> +	       "after random tiled blits among each other");

Similar situation to gem_tiled_blits (I even thought I have dejavu opening
second file :))
Description of cases will be similar to gem_tiled_blits but using fences to
tiling and detiling.

Kasia
>  	igt_subtest("basic")
>  		run_test (fd, 2);
>  
> +	igt_describe("Validates the content of large number of tiled buffer objects "
> +	       "(working set larger than the mappable aperture size) after random tiled blits among "
> +	       "each other, performed on multiple parallel threads");
>  	igt_subtest("normal") {
>  		igt_fork(child, ncpus)
>  			run_test(fd, count);
> -- 
> 2.25.1
> 
> _______________________________________________
> igt-dev mailing list
> igt-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/igt-dev


More information about the igt-dev mailing list