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

arundhati.hagaragi at intel.com arundhati.hagaragi at intel.com
Tue Dec 8 22:42:36 UTC 2020


From: Arundhati Hagaragi <arundhati.hagaragi at intel.com>

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>
---
 tests/kms_plane.c | 19 ++++++++++++++++++-
 1 file changed, 18 insertions(+), 1 deletion(-)

diff --git a/tests/kms_plane.c b/tests/kms_plane.c
index 3642d66f..80f9699f 100644
--- a/tests/kms_plane.c
+++ b/tests/kms_plane.c
@@ -1040,10 +1040,14 @@ run_tests_for_pipe_plane(data_t *data, enum pipe pipe)
 		igt_require(data->display.pipes[pipe].n_planes > 0);
 	}
 
+	igt_describe("Tests the supported  pixel format for each"
+		       "plane and properties.");
 	igt_subtest_f("pixel-format-pipe-%s-planes",
 		      kmstest_pipe_name(pipe))
 		test_pixel_formats(data, pipe);
 
+	igt_describe("Tests the pixel format for source clamping"
+		       "for each plane and properties.");
 	igt_subtest_f("pixel-format-pipe-%s-planes-source-clamping",
 		      kmstest_pipe_name(pipe)) {
 		data->crop = 4;
@@ -1051,29 +1055,42 @@ run_tests_for_pipe_plane(data_t *data, enum pipe pipe)
 	}
 
 	data->crop = 0;
+	igt_describe("Tests the  CRC for plane position that fully"
+		       "cover hole and compares with reference CRC.");
 	igt_subtest_f("plane-position-covered-pipe-%s-planes",
 		      kmstest_pipe_name(pipe))
 		test_plane_position(data, pipe, 0);
 
+	igt_describe("Tests the CRC for plane position that partially"
+		       "cover hole and compares with reference CRC.");
 	igt_subtest_f("plane-position-hole-pipe-%s-planes",
 		      kmstest_pipe_name(pipe))
 		test_plane_position(data, pipe,
 				    TEST_POSITION_PARTIALLY_COVERED);
 
+	igt_describe("Tests the CRC for plane position that partially"
+		       "cover hole and checks 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("Tests the  position(0,0) for requested large fb"
+		       "and compares it with reference crc collected.");
 	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("Tests the position(Hdisplay,Vdisplay) for requested"
+		       "large fb and compares it with reference crc collected.");
 	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("Tests the position(Hdisplay,Vdisplay) for requested"
+		       "large fb and compares it with reference CRC collected"
+		       "and also executes a 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