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

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

 



From: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx>

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

Signed-off-by: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx>
---
 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

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




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux