summaryrefslogtreecommitdiff
path: root/tests/kms_properties.c
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2017-09-07 15:35:27 +0300
committerVille Syrjälä <ville.syrjala@linux.intel.com>2017-09-08 16:53:50 +0300
commit80447fec4ac419efe1e51ebcccc00bebcc5f9874 (patch)
treef313037e3cfdfbebce66fc2afc4e2a73ee8f3f3c /tests/kms_properties.c
parentd98698cd697cd6d712c501a32855c63bb8e07a09 (diff)
tests/kms_properties: Require atomic for the atomic invalid props test
The invalid props test forgot to check for atomic. Add the required check. Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Diffstat (limited to 'tests/kms_properties.c')
-rw-r--r--tests/kms_properties.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/kms_properties.c b/tests/kms_properties.c
index 544a8009..a63b69b4 100644
--- a/tests/kms_properties.c
+++ b/tests/kms_properties.c
@@ -389,6 +389,9 @@ static void invalid_properties(igt_display_t *display, bool atomic)
enum pipe pipe;
int i;
+ if (atomic)
+ igt_skip_on(!display->is_atomic);
+
for_each_pipe(display, pipe)
test_object_invalid_properties(display, display->pipes[pipe].crtc_id, DRM_MODE_OBJECT_CRTC, atomic);