[igt-dev] [PATCH i-g-t] i915/gem_mmap_offset: Added subtests description

apoorva1.singh at intel.com apoorva1.singh at intel.com
Mon Sep 28 19:14:10 UTC 2020


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

Added description for remaining subtests

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

diff --git a/tests/i915/gem_mmap_offset.c b/tests/i915/gem_mmap_offset.c
index 82203bce..3c4bfd60 100644
--- a/tests/i915/gem_mmap_offset.c
+++ b/tests/i915/gem_mmap_offset.c
@@ -675,8 +675,12 @@ igt_main
 	igt_describe("Verify mapping to invalid gem objects won't be created");
 	igt_subtest_f("bad-object")
 		bad_object(i915);
+
+	igt_describe("Verify mapping to buffer object with invalid flag won't be created");
 	igt_subtest_f("bad-flags")
 		bad_flags(i915);
+
+	igt_describe("Verify mapping to buffer object with invalid extensions won't be created");
 	igt_subtest_f("bad-extensions")
 		bad_extensions(i915);
 
@@ -684,11 +688,17 @@ igt_main
 	igt_subtest_f("basic-uaf")
 		basic_uaf(i915);
 
+	igt_describe("Verify mapping to a buffer object which is associated with different fds "
+	       "works in isolation");
 	igt_subtest_f("isolation")
 		isolation(i915);
+
+	igt_describe("Verify initial page faulting completes within a specified time");
 	igt_subtest_f("pf-nonblock")
 		pf_nonblock(i915);
 
+	igt_describe("Tests read/write at the address space mapped using mmap-offset in the "
+	       "tracee's memory");
 	igt_subtest_with_dynamic("ptrace")
 		test_ptrace(i915);
 
@@ -696,12 +706,17 @@ igt_main
 	igt_subtest_f("close-race")
 		close_race(i915, 20);
 
+	igt_describe("Tests the performance of mmap-offset ioctl in a flooded environment "
+	       "created using multiple cocncurrent threads");
 	igt_subtest_f("open-flood")
 		open_flood(i915, 20);
 
+	igt_describe("Verify that the memory mapped using mmap-offset is always "
+	       "initialized with 0s");
 	igt_subtest_f("clear")
 		always_clear(i915, 20);
 
+	igt_describe("Verfiy data coherency of blt with mmap-offset");
 	igt_subtest_f("blt-coherency")
 		blt_coherency(i915);
 
-- 
2.28.0



More information about the igt-dev mailing list