summaryrefslogtreecommitdiff
path: root/tests/i915/gem_partial_pwrite_pread.c
diff options
context:
space:
mode:
authorSai Gowtham Ch <sai.gowtham.ch@intel.com>2022-04-29 15:18:14 +0530
committerZbigniew KempczyƄski <zbigniew.kempczynski@intel.com>2022-04-29 12:31:27 +0200
commit2481eed045cdb1c1e01e59f48cef0f76e8d4aa12 (patch)
treeb0773501661b3a68f63990f8b1cf6f55cd2bd07a /tests/i915/gem_partial_pwrite_pread.c
parent5d32cc528620937c0fe709b778f969daf6322c3d (diff)
i915/gem_partial_pwrite_pread: Add subtests description
Add description to all the available subtests. Cc: Kamil Konieczny <kamil.konieczny@linux.intel.com> Signed-off-by: Apoorva Singh <apoorva1.singh@intel.com> Signed-off-by: Sai Gowtham Ch <sai.gowtham.ch@intel.com> Reviewed-by: Kamil Konieczny <kamil.konieczny@linux.intel.com>
Diffstat (limited to 'tests/i915/gem_partial_pwrite_pread.c')
-rw-r--r--tests/i915/gem_partial_pwrite_pread.c6
1 files changed, 6 insertions, 0 deletions
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);
}