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

Matt Roper matthew.d.roper at intel.com
Thu Aug 29 16:47:07 UTC 2019


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 at intel.com>
---
 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



More information about the Intel-gfx mailing list