public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] Allow a full modeset in kms_properties atomic case
@ 2018-11-28 13:03 Stanislav Lisovskiy
  2018-11-28 13:56 ` Maarten Lankhorst
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Stanislav Lisovskiy @ 2018-11-28 13:03 UTC (permalink / raw)
  To: igt-dev; +Cc: stanislav.lisovskiy, ville.syrjala, martin.peres

Otherwise we are getting EINVAL as drm requires it
at some point.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108642
Signed-off-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
---
 tests/kms_properties.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/kms_properties.c b/tests/kms_properties.c
index 82d28e9b..eb9cbdda 100644
--- a/tests/kms_properties.c
+++ b/tests/kms_properties.c
@@ -100,7 +100,7 @@ static void max_bpc_prop_test(int fd, uint32_t id, uint32_t type, drmModePropert
 			ret = drmModeAtomicAddProperty(req, id, prop_id, i);
 			igt_assert(ret >= 0);
 
-			ret = drmModeAtomicCommit(fd, req, DRM_MODE_ATOMIC_TEST_ONLY, NULL);
+			ret = drmModeAtomicCommit(fd, req, DRM_MODE_ATOMIC_TEST_ONLY | DRM_MODE_ATOMIC_ALLOW_MODESET, NULL);
 			igt_assert_eq(ret, 0);
 		}
 	}
-- 
2.17.1

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-12-07 16:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-28 13:03 [igt-dev] [PATCH i-g-t] Allow a full modeset in kms_properties atomic case Stanislav Lisovskiy
2018-11-28 13:56 ` Maarten Lankhorst
2018-12-07 16:11   ` James Ausmus
2018-11-28 13:57 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2018-12-06 11:17 ` [igt-dev] ✓ Fi.CI.BAT: success for Allow a full modeset in kms_properties atomic case (rev2) Patchwork
2018-12-07  5:17 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox