[PATCH i-g-t] tests/kms_rotation_crc: Skip on platforms without atomic modesetting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This test performs display updates via COMMIT_ATOMIC, but fails to check
that the platform being tested actually supports atomic.  This causes
failures on some of our older pre-gen5 platforms.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106012
Signed-off-by: Matt Roper <matthew.d.roper@xxxxxxxxx>
---
 tests/kms_rotation_crc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/kms_rotation_crc.c b/tests/kms_rotation_crc.c
index fe404810..668c1732 100644
--- a/tests/kms_rotation_crc.c
+++ b/tests/kms_rotation_crc.c
@@ -780,6 +780,7 @@ igt_main
 		igt_require_pipe_crc(data.gfx_fd);
 
 		igt_display_require(&data.display, data.gfx_fd);
+		igt_require(data.display.is_atomic);
 	}
 
 	for (subtest = subtests; subtest->rot; subtest++) {
-- 
2.20.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux