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

Katarzyna Dec katarzyna.dec at intel.com
Mon Feb 22 14:03:41 UTC 2021


On Thu, Jul 16, 2020 at 10:26:33AM +0530, ranjeet1.kumar at intel.com wrote:
> From: ranjeet kumar <ranjeet1.kumar at intel.com>
> 
> Added test description for subtest.
> 
> Cc: Melkaveri, Arjun <Arjun.Melkaveri at intel.com>
> Signed-off-by: ranjeet kumar <ranjeet1.kumar at intel.com>
> ---
>  tests/i915/gem_madvise.c | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/tests/i915/gem_madvise.c b/tests/i915/gem_madvise.c
> index 54c9beff..3e168cd4 100644
> --- a/tests/i915/gem_madvise.c
> +++ b/tests/i915/gem_madvise.c
> @@ -187,15 +187,23 @@ dontneed_before_exec(void)
>  
>  igt_main
>  {
> +	igt_describe("checks signal for Segmentation Fault and bus error before"
> +		     " obtaning a purgeable object and calling for sighandler");
>  	igt_subtest("dontneed-before-mmap")
>  		dontneed_before_mmap();
>  
> +	igt_describe("checks signal for Segmentation Fault and bus error after"
> +		     " obtaning a purgeable object and calling for sighandler");
>  	igt_subtest("dontneed-after-mmap")
>  		dontneed_after_mmap();
>  
> +	igt_describe("PWRITE ioctl reports EFAULT when trying to use purged bo"
> +		     " for write operation");
>  	igt_subtest("dontneed-before-pwrite")
>  		dontneed_before_pwrite();
>  
> +	igt_describe("EXECBUFFER2 ioctl reports EFAULT when trying to submit"
> +		     " purged bo for GPU.");
>  	igt_subtest("dontneed-before-exec")
>  		dontneed_before_exec();
>  }
LGTM :)
Acked-by: Katarzyna Dec <katarzyna.dec at intel.com>

Kasia :)

> -- 
> 2.26.2
> 
> _______________________________________________
> 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