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

ranjeet1.kumar at intel.com ranjeet1.kumar at intel.com
Tue Oct 6 04:05:14 UTC 2020


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_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 302ea24b..09310f2b 100644
--- a/tests/i915/gem_set_tiling_vs_pwrite.c
+++ b/tests/i915/gem_set_tiling_vs_pwrite.c
@@ -71,7 +71,7 @@ igt_simple_main
 		*ptr = 0xdeadbeef;
 	}
 
-	igt_info("testing pwrite on tiled buffer\n");
+	igt_describe("set tiling stride and domain, check pwrite coherency on tiled buffer.\n");
 	gem_write(fd, handle, 0, data, OBJECT_SIZE);
 	memset(data, 0, OBJECT_SIZE);
 	gem_read(fd, handle, 0, data, OBJECT_SIZE);
@@ -87,7 +87,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, test pwrite coherency on"
+		     " still fenced buffer.\n");
 	gem_write(fd, handle, 0, data, OBJECT_SIZE);
 	memset(data, 0, OBJECT_SIZE);
 	gem_read(fd, handle, 0, data, OBJECT_SIZE);
-- 
2.25.0



More information about the igt-dev mailing list