[igt-dev] [PATCH i-g-t] i915/gem_partial_pwrite_pread: Add subtests description
apoorva1.singh at intel.com
apoorva1.singh at intel.com
Tue Dec 8 17:07:40 UTC 2020
From: Apoorva Singh <apoorva1.singh at intel.com>
Add description for all subtests
Signed-off-by: Apoorva Singh <apoorva1.singh at intel.com>
Cc: Melkaveri, Arjun <arjun.melkaveri at 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 72c33539..00353ec7 100644
--- a/tests/i915/gem_partial_pwrite_pread.c
+++ b/tests/i915/gem_partial_pwrite_pread.c
@@ -265,12 +265,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 that 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 that 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 that pread followed by pwrite are both 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.25.1
More information about the igt-dev
mailing list