[igt-dev] [PATCH i-g-t] i915/gem_exec_store: Add test description

apoorva1.singh at intel.com apoorva1.singh at intel.com
Fri Dec 18 16:57:24 UTC 2020


From: Apoorva Singh <apoorva1.singh at intel.com>

Add description for test and all subtests

Signed-off-by: Apoorva Singh <apoorva1.singh at intel.com>
Cc: Melkaveri, Arjun <arjun.melkaveri at intel.com>
---
 tests/i915/gem_exec_store.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/tests/i915/gem_exec_store.c b/tests/i915/gem_exec_store.c
index 771ee169..31856617 100644
--- a/tests/i915/gem_exec_store.c
+++ b/tests/i915/gem_exec_store.c
@@ -34,6 +34,8 @@
 #include "igt_device.h"
 #include "igt_gt.h"
 
+IGT_TEST_DESCRIPTION("Test the store functionality using execbuf-ioctl");
+
 #define ENGINE_MASK  (I915_EXEC_RING_MASK | I915_EXEC_BSD_MASK)
 
 static void store_dword(int fd, const struct intel_execution_engine2 *e)
@@ -346,15 +348,21 @@ igt_main
 		igt_fork_hang_detector(fd);
 	}
 
+	igt_describe("Verify that all engines can store dwords to a common buffer object");
 	igt_subtest("basic")
 		store_all(fd);
 
+	igt_describe("Verify that each engine can store a dword to a buffer object");
 	test_each_engine("dword", fd, e)
 		store_dword(fd, e);
 
+	igt_describe("Verify that each engine can store a dword to different cachelines "
+	       "of a buffer object");
 	test_each_engine("cachelines", fd, e)
 		store_cachelines(fd, e, 0);
 
+	igt_describe("Verify that each engine can store a dword to various page-sized "
+	       "buffer objects");
 	test_each_engine("pages", fd, e)
 		store_cachelines(fd, e, PAGES);
 
-- 
2.25.1



More information about the igt-dev mailing list