[Intel-gfx] [PATCH i-g-t 5/8] tests/kms_ccs: Reshuffle test name and loop

Daniel Stone daniels at collabora.com
Tue Aug 8 16:16:42 UTC 2017


In preparation for also testing sprites.

Signed-off-by: Daniel Stone <daniels at collabora.com>
---
 tests/kms_ccs.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/tests/kms_ccs.c b/tests/kms_ccs.c
index 50bb2ad6..1a5cdcd4 100644
--- a/tests/kms_ccs.c
+++ b/tests/kms_ccs.c
@@ -342,13 +342,13 @@ igt_main
 
 	for (data.pipe = PIPE_A; data.pipe < IGT_MAX_PIPES; data.pipe++) {
 		data.flags = TEST_CRC;
-		igt_subtest_f("pipe-%s-crc-basic", kmstest_pipe_name(data.pipe))
+		igt_subtest_f("pipe-%s-crc-primary-basic",
+			      kmstest_pipe_name(data.pipe))
 			test(&data);
-	}
 
-	for (data.pipe = PIPE_A; data.pipe < IGT_MAX_PIPES; data.pipe++) {
-		data.flags = TEST_CRC | TEST_ROTATE_180;
-		igt_subtest_f("pipe-%s-crc-rotation-180", kmstest_pipe_name(data.pipe))
+		data.flags |= TEST_ROTATE_180;
+		igt_subtest_f("pipe-%s-crc-primary-rotation-180",
+			      kmstest_pipe_name(data.pipe))
 			test(&data);
 	}
 
-- 
2.13.4



More information about the Intel-gfx mailing list