[igt-dev] [PATCH i-g-t 1/2] i915/gem_set_tiling_vs_pwrite: Added description for test case
Kamil Konieczny
kamil.konieczny at linux.intel.com
Wed Apr 27 15:22:29 UTC 2022
Hi Priyanka,
please check with ./gem_set_tiling_vs_pwrite --describe if there
is missing description and where to add it. Do this check again
after you add description to see if anything is missing. In this
case this is simple test without any subtests, so only global
description is needed and it is already present at begin of file.
Sorry but this patch cannot be merged.
Regards,
Kamil
On 2022-04-26 at 09:42:27 +0530, priyanka.dandamudi at intel.com wrote:
> From: ranjeet kumar <ranjeet1.kumar at intel.com>
>
> Added test description for subtest.
>
> Cc: Kamil Konieczny <kamil.konieczny at linux.intel.com>
> Signed-off-by: ranjeet kumar <ranjeet1.kumar at intel.com>
> Signed-off-by: Priyanka Dandamudi <priyanka.dandamudi at intel.com>
> ---
> tests/i915/gem_set_tiling_vs_pwrite.c | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/tests/i915/gem_set_tiling_vs_pwrite.c b/tests/i915/gem_set_tiling_vs_pwrite.c
> index 6bec7f27..7e96ad96 100644
> --- a/tests/i915/gem_set_tiling_vs_pwrite.c
> +++ b/tests/i915/gem_set_tiling_vs_pwrite.c
> @@ -74,7 +74,7 @@ igt_simple_main
> *ptr = 0xdeadbeef;
> }
>
> - igt_info("testing pwrite on tiled buffer\n");
> + igt_describe("Set tiling stride and domain and check pwrite coherency on tiled buffer.");
> gem_write(fd, handle, 0, data, OBJECT_SIZE);
> memset(data, 0, OBJECT_SIZE);
> gem_read(fd, handle, 0, data, OBJECT_SIZE);
> @@ -90,7 +90,8 @@ igt_simple_main
>
> gem_set_tiling(fd, handle, I915_TILING_NONE, 0);
>
> - igt_info("testing pwrite on untiled, but still fenced buffer\n");
> + igt_describe("set tiling stride as none and domain and check pwrite coherency on"
> + " still fenced buffer.");
> gem_write(fd, handle, 0, data, OBJECT_SIZE);
> memset(data, 0, OBJECT_SIZE);
> gem_read(fd, handle, 0, data, OBJECT_SIZE);
> --
> 2.25.1
>
More information about the igt-dev
mailing list