diff mbox

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

Message ID 20170808161645.25329-5-daniels@collabora.com (mailing list archive)
State New, archived
Headers show

Commit Message

Daniel Stone Aug. 8, 2017, 4:16 p.m. UTC
In preparation for also testing sprites.

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

Patch

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);
 	}