mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
backend/drm: don't set NONBLOCK with TEST_ONLY
The kernel ignores NONBLOCK when TEST_ONLY is set. Let's just not set it, to make it clear it's unused.
This commit is contained in:
parent
55aaeb25c5
commit
5088e25eaf
1 changed files with 1 additions and 1 deletions
|
|
@ -202,7 +202,7 @@ static bool atomic_crtc_commit(struct wlr_drm_backend *drm,
|
|||
|
||||
if (crtc->pending_modeset) {
|
||||
flags |= DRM_MODE_ATOMIC_ALLOW_MODESET;
|
||||
} else {
|
||||
} else if (!(flags & DRM_MODE_ATOMIC_TEST_ONLY)) {
|
||||
flags |= DRM_MODE_ATOMIC_NONBLOCK;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue