[igt-dev] [PATCH i-g-t v2] tests/kms_plane: Added test description

Arundhati Hagaragi arundhati.hagaragi at intel.com
Thu Dec 17 01:50:00 UTC 2020


Added test description for test case

Cc: Gupta, Nidhi1 <nidhi1.gupta at intel.com>
Cc: Sharma, Swati2 <swati2.sharma at intel.com>
Signed-off-by: Arundhati Hagaragi <arundhati.hagaragi at intel.com>

v2: modified subtests description to be more specific. (Karthik)
---
 tests/kms_plane.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/tests/kms_plane.c b/tests/kms_plane.c
index 3642d66f..d01e2404 100644
--- a/tests/kms_plane.c
+++ b/tests/kms_plane.c
@@ -1051,29 +1051,37 @@ run_tests_for_pipe_plane(data_t *data, enum pipe pipe)
 	}
 
 	data->crop = 0;
+	igt_describe("verifying position of two planes fully covering each other");
 	igt_subtest_f("plane-position-covered-pipe-%s-planes",
 		      kmstest_pipe_name(pipe))
 		test_plane_position(data, pipe, 0);
 
+	igt_describe("verifying position of two planes partially covering each other");
 	igt_subtest_f("plane-position-hole-pipe-%s-planes",
 		      kmstest_pipe_name(pipe))
 		test_plane_position(data, pipe,
 				    TEST_POSITION_PARTIALLY_COVERED);
 
+	igt_describe("verifying position of two planes partially covering each other and"
+		"check for DPMS");
 	igt_subtest_f("plane-position-hole-dpms-pipe-%s-planes",
 		      kmstest_pipe_name(pipe))
 		test_plane_position(data, pipe,
 				    TEST_POSITION_PARTIALLY_COVERED |
 				    TEST_DPMS);
 
+	igt_describe("verifying panning at top left position for two planes");
 	igt_subtest_f("plane-panning-top-left-pipe-%s-planes",
 		      kmstest_pipe_name(pipe))
 		test_plane_panning(data, pipe, TEST_PANNING_TOP_LEFT);
 
+	igt_describe("verifying panning at bottom right position for two planes");
 	igt_subtest_f("plane-panning-bottom-right-pipe-%s-planes",
 		      kmstest_pipe_name(pipe))
 		test_plane_panning(data, pipe, TEST_PANNING_BOTTOM_RIGHT);
 
+	igt_describe("verifying panning at bottom right position for two planes and "
+		"executes system suspend cycles");
 	igt_subtest_f("plane-panning-bottom-right-suspend-pipe-%s-planes",
 		      kmstest_pipe_name(pipe))
 		test_plane_panning(data, pipe, TEST_PANNING_BOTTOM_RIGHT |
-- 
2.25.1



More information about the igt-dev mailing list