Commit 3b52e8a5 authored by Stanislav Lisovskiy's avatar Stanislav Lisovskiy Committed by Maarten Lankhorst

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=108642Signed-off-by: 's avatarStanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Reviewed-by: 's avatarMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: 's avatarMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
parent 4579ac1d
Pipeline #11782 passed with stages
in 3 minutes and 15 seconds
......@@ -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);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment