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

ranjeet1.kumar at intel.com ranjeet1.kumar at intel.com
Tue Aug 18 03:39:50 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_gtt.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/i915/gem_set_tiling_vs_gtt.c b/tests/i915/gem_set_tiling_vs_gtt.c
index cee9c02c..bd974cd3 100644
--- a/tests/i915/gem_set_tiling_vs_gtt.c
+++ b/tests/i915/gem_set_tiling_vs_gtt.c
@@ -75,7 +75,7 @@ igt_simple_main
 
 	gem_set_tiling(fd, handle, I915_TILING_X, TEST_STRIDE);
 
-	igt_info("testing untiled->tiled\n");
+	igt_describe("testing mmap coherency of gem buffer object on untiled->tiled");
 	tiling_changed = false;
 	gem_set_domain(fd, handle, I915_GEM_DOMAIN_GTT, 0);
 	/* Too lazy to check for the correct tiling, and impossible anyway on
@@ -91,7 +91,7 @@ igt_simple_main
 
 	gem_set_tiling(fd, handle, I915_TILING_X, TEST_STRIDE*2);
 
-	igt_info("testing tiled->tiled\n");
+	igt_describe("testing mmap coherency of gem buffer object on tiled->tiled");
 	gem_set_domain(fd, handle, I915_GEM_DOMAIN_GTT, 0);
 	for (i = 0; i < OBJECT_SIZE/4; i++) {
 		int tile_row = i / (TEST_STRIDE * tile_height / 4);
@@ -116,7 +116,7 @@ igt_simple_main
 		ptr[i] = data[i] = i;
 
 	gem_set_tiling(fd, handle, I915_TILING_NONE, 0);
-	igt_info("testing tiled->untiled\n");
+	igt_describe("testing mmap coherency of gem buffer object on tiled->untiled");
 	tiling_changed = false;
 	gem_set_domain(fd, handle, I915_GEM_DOMAIN_GTT, 0);
 	/* Too lazy to check for the correct tiling, and impossible anyway on
-- 
2.26.2



More information about the igt-dev mailing list