wlroots/backend
Simon Ser f870d63bad backend/drm: fix drmModePageFlip() when disabling CRTC on legacy uAPI
drmModePageFlip() will fail with EBUSY on a disabled CRTC.

We can't fix this by clearing the DRM_MODE_PAGE_FLIP_EVENT when
performing a commit which disables CRTCs, because some device-wide
commits might also page-flip other enabled CRTCs (and skipping the
page-flip event would mess up our buffer tracking).

Fix this by immediately completing page-flips which disable a CRTC
on the legacy uAPI.

Closes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3918
(cherry picked from commit 3e651b4642)
2024-11-29 08:42:38 -05:00
..
drm backend/drm: fix drmModePageFlip() when disabling CRTC on legacy uAPI 2024-11-29 08:42:38 -05:00
headless backend/headless: actually perform output test 2024-11-11 14:11:23 -05:00
libinput build: require libinput v1.19 2024-07-04 22:51:07 +02:00
multi backend/multi: implement wlr_backend_impl.{test,commit} 2024-03-14 22:03:10 +00:00
session backend/session: use "KMS" instead of "DRM" in log messages 2024-06-17 09:43:38 +02:00
wayland backend/wayland: Account for shm buffer offset 2024-11-11 14:09:50 -05:00
x11 backend/x11: send correct keyboard layout 2024-05-26 12:52:42 +00:00
backend.c backend: add wlr_backend_{test,commit}() 2024-03-14 22:03:10 +00:00
meson.build backend/session: make optional 2022-11-25 16:15:29 +00:00