[igt-dev] [PATCH i-g-t 1/2] i915/gem_partial_pwrite_pread: Add subtests description

sai.gowtham.ch at intel.com sai.gowtham.ch at intel.com
Fri Apr 29 09:48:14 UTC 2022


From: Sai Gowtham Ch <sai.gowtham.ch at intel.com>

Add description to all the available subtests.

Cc: Kamil Konieczny <kamil.konieczny at linux.intel.com>
Signed-off-by: Apoorva Singh <apoorva1.singh at intel.com>
Signed-off-by: Sai Gowtham Ch <sai.gowtham.ch at intel.com>
Reviewed-by: Kamil Konieczny <kamil.konieczny at linux.intel.com>
---
 tests/i915/gem_partial_pwrite_pread.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/tests/i915/gem_partial_pwrite_pread.c b/tests/i915/gem_partial_pwrite_pread.c
index 4f81d34b..474149d4 100644
--- a/tests/i915/gem_partial_pwrite_pread.c
+++ b/tests/i915/gem_partial_pwrite_pread.c
@@ -280,12 +280,18 @@ static void do_tests(data_t *data, int cache_level, const char *suffix)
 			gem_set_caching(data->drm_fd, scratch_buf->handle, cache_level);
 	}
 
+	igt_describe_f("Verify if pread is consistent while accessing partial cachelines "
+		       "with %s caching level", cache_level == -1 ? "default" : suffix+1);
 	igt_subtest_f("reads%s", suffix)
 		test_partial_reads(data);
 
+	igt_describe_f("Verify if pwrite is consistent while accessing partial cachelines "
+		       "with %s caching level", cache_level == -1 ? "default" : suffix+1);
 	igt_subtest_f("write%s", suffix)
 		test_partial_writes(data);
 
+	igt_describe_f("Verify if both pread, pwrite are consistent while accessing partial "
+		       "cachelines with %s caching level", cache_level == -1 ? "default" : suffix+1);
 	igt_subtest_f("writes-after-reads%s", suffix)
 		test_partial_read_writes(data);
 }
-- 
2.35.1



More information about the igt-dev mailing list