summaryrefslogtreecommitdiff
path: root/tests/kms_rotation_crc.c
diff options
context:
space:
mode:
authorMatt Roper <matthew.d.roper@intel.com>2019-08-29 09:47:07 -0700
committerMatt Roper <matthew.d.roper@intel.com>2019-08-30 08:49:50 -0700
commite62ea305fdba2a9cd0dadfa527b54529cb0d1438 (patch)
tree84692df86775536ad55e4226a3a8cb924d9c2f43 /tests/kms_rotation_crc.c
parent6f872353fadf7b30fe8ecfff4ef69e2083c2dfa3 (diff)
tests/kms_rotation_crc: Skip on platforms without atomic modesetting
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@intel.com> Reviewed-by: Simon Ser <simon.ser@intel.com>
Diffstat (limited to 'tests/kms_rotation_crc.c')
-rw-r--r--tests/kms_rotation_crc.c1
1 files changed, 1 insertions, 0 deletions
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++) {