[igt-dev] [PATCH i-g-t] i915/gem_mmap_wc: Align subtests with correct function calls

Dixit, Ashutosh ashutosh.dixit at intel.com
Wed Sep 9 21:02:59 UTC 2020


On Wed, 09 Sep 2020 01:31:25 -0700, <apoorva1.singh at intel.com> wrote:
>
> From: Apoorva Singh <apoorva1.singh at intel.com>
>
> - Fix the name of subtest "write-gtt-read-gtt"
> - Fix subtests "write-wc-read-gtt" and "write-gtt-read-gtt"
> to call correct fucntions

Reviewed-by: Ashutosh Dixit <ashutosh.dixit at intel.com>

> Cc: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Melkaveri, Arjun <arjun.melkaveri at intel.com>
> Signed-off-by: Apoorva Singh <apoorva1.singh at intel.com>
> ---
>  tests/i915/gem_mmap_wc.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/tests/i915/gem_mmap_wc.c b/tests/i915/gem_mmap_wc.c
> index f44b406d..c940376a 100644
> --- a/tests/i915/gem_mmap_wc.c
> +++ b/tests/i915/gem_mmap_wc.c
> @@ -329,7 +329,7 @@ test_write_cpu_read_wc(int fd, int force_domain)
>  }
>
>  static void
> -test_write_gtt_read_wc(int fd)
> +test_write_wc_read_gtt(int fd)
>  {
>	uint32_t handle;
>	uint32_t *src, *dst;
> @@ -350,7 +350,7 @@ test_write_gtt_read_wc(int fd)
>  }
>
>  static void
> -test_write_wc_read_gtt(int fd)
> +test_write_gtt_read_wc(int fd)
>  {
>	uint32_t handle;
>	uint32_t *src, *dst;
> @@ -610,7 +610,7 @@ igt_main
>		igt_fixture gem_require_mappable_ggtt(fd);
>		igt_subtest("write-wc-read-gtt")
>			test_write_wc_read_gtt(fd);
> -		igt_subtest("write-gtt-read-gtt")
> +		igt_subtest("write-gtt-read-wc")
>			test_write_gtt_read_wc(fd);
>	}
>
> --
> 2.28.0
>
> _______________________________________________
> 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