From 3b52e8a5809a4e860350c59476a456745cd9fee0 Mon Sep 17 00:00:00 2001 From: Stanislav Lisovskiy Date: Wed, 28 Nov 2018 15:03:34 +0200 Subject: Allow a full modeset in kms_properties atomic case 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 Reviewed-by: Maarten Lankhorst Signed-off-by: Maarten Lankhorst --- tests/kms_properties.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/kms_properties.c') 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); } } -- cgit v1.2.3