[igt-dev] [PATCH i-g-t , v2] i915/gem_create: Added test description for test case

priyanka.dandamudi at intel.com priyanka.dandamudi at intel.com
Wed Feb 16 12:35:08 UTC 2022


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

Added test description to all the available subtests.

v2: Added test description for newly added subtets.

Cc: Melkaveri, Arjun <Arjun.Melkaveri at intel.com>
Signed-off-by: Priyanka Dandamudi <priyanka.dandamudi at intel.com>
---
 tests/i915/gem_create.c | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/tests/i915/gem_create.c b/tests/i915/gem_create.c
index 45804cde..0280fe31 100644
--- a/tests/i915/gem_create.c
+++ b/tests/i915/gem_create.c
@@ -489,30 +489,44 @@ igt_main
 		fd = drm_open_driver(DRIVER_INTEL);
 	}
 
+	igt_describe("Test tries to create a gem object of invalid size 0"
+		     " and checks if ioctl returns error.");
 	igt_subtest("create-invalid-size")
 		invalid_size_test(fd);
 
+	igt_describe("Test tries to exercise impossible size of buffer object and "
+		       "checks for the expected error.");
 	igt_subtest("create-massive")
 		massive_test(fd);
 
+	igt_describe("Test creates an object with non-aligned size request "
+		     "and assert the buffer is page aligned and tests the "
+		     "write into the padded extra memory.");
 	igt_subtest("create-valid-nonaligned")
 		valid_nonaligned_size(fd);
 
+	igt_describe("Test tries to create a gem object with size 15"
+		     " and checks if the actual created size to be default page size.");
 	igt_subtest("create-size-update")
 		size_update(fd);
 
+	igt_describe("Test tries to verify that all new objects are clear.");
 	igt_subtest("create-clear")
 		always_clear(fd, 30);
 
+	igt_describe("Test tries to create BO while GPU is busy.");
 	igt_subtest("busy-create")
 		busy_create(fd, 30);
 
+	igt_describe("Test tries to exercise create_ext placements extension");
 	igt_subtest("create-ext-placement-sanity-check")
 		create_ext_placement_sanity_check(fd);
 
+	igt_describe("Test tries to create object in each memory region using create_ext.");
 	igt_subtest("create-ext-placement-each")
 		create_ext_placement_each(fd);
 
+	igt_describe("Test tries to create object on all memory regions using create_ext.");
 	igt_subtest("create-ext-placement-all")
 		create_ext_placement_all(fd);
 
-- 
2.25.1



More information about the igt-dev mailing list