[Intel-gfx] [PATCH i-g-t 5/5] tests/kms_properties: Require atomic for the atomic invalid props test

ville.syrjala at linux.intel.com ville.syrjala at linux.intel.com
Thu Sep 7 16:11:20 UTC 2017


From: Ville Syrjälä <ville.syrjala at linux.intel.com>

The invalid props test forgot to check for atomic. Add the required
check.

Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
---
 tests/kms_properties.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/kms_properties.c b/tests/kms_properties.c
index 544a80097c54..a63b69b4decf 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);
 
-- 
2.13.5



More information about the Intel-gfx mailing list