[igt-dev] [PATCH i-g-t 1/2] i915/gem_close_race: added description for test case

priyanka.dandamudi at intel.com priyanka.dandamudi at intel.com
Thu May 26 15:25:50 UTC 2022


From: Priyanka Dandamudi <priyanka.dandamudi at intel.com>

Added description for subtests.

Cc: Kamil Konieczny <kamil.konieczny at linux.intel.com>
Signed-off-by: Priyanka Dandamudi <priyanka.dandamudi at intel.com>
---
 tests/i915/gem_close_race.c | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/tests/i915/gem_close_race.c b/tests/i915/gem_close_race.c
index 93ae07ed..ec520510 100644
--- a/tests/i915/gem_close_race.c
+++ b/tests/i915/gem_close_race.c
@@ -289,6 +289,7 @@ igt_main
 		close(fd);
 	}
 
+	igt_describe("Basic check to verify race of gem close against workload submission.");
 	igt_subtest("basic-process") {
 		int fd = drm_open_driver(DRIVER_INTEL);
 
@@ -300,9 +301,13 @@ igt_main
 		close(fd);
 	}
 
+	igt_describe("Share buffer handle across different drmfd's and verify race of"
+		     " gem close against continuous workload(selfcopy) with minimum timeout.");
 	igt_subtest("basic-threads")
 		threads(1, 0);
 
+	igt_describe("Verify race of gem close against submission of continuous"
+		     " workload(selfcopying).");
 	igt_subtest("process-exit") {
 		int fd = drm_open_driver(DRIVER_INTEL);
 
@@ -314,9 +319,13 @@ igt_main
 		close(fd);
 	}
 
+	igt_describe("Share buffer handle across different drmfd's and verify race of"
+		     " gem close against continuous workload(selfcopy) in other contexts.");
 	igt_subtest("contexts")
 		threads(30, CONTEXTS);
 
+	igt_describe("Share buffer handle across different drmfd's and verify race of"
+		     " gem close against continuous workload(selfcopy) with timeout of 150ms.");
 	igt_subtest("gem-close-race")
 		threads(150, 0);
 
-- 
2.25.1



More information about the igt-dev mailing list