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

apoorva1.singh at intel.com apoorva1.singh at intel.com
Wed Sep 9 08:31:25 UTC 2020


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

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



More information about the igt-dev mailing list