wlroots/backend/drm
Simon Ser 3e651b4642 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
2024-11-23 15:29:44 +01:00
..
atomic.c backend/drm: Remove reset from interface 2024-10-29 11:13:13 +01:00
backend.c backend/drm: Allow proceeding with render-less mgpu 2024-11-08 15:14:08 +01:00
drm.c backend/drm: fix drmModePageFlip() when disabling CRTC on legacy uAPI 2024-11-23 15:29:44 +01:00
fb.c backend/drm: add drm_fb_copy() 2024-03-04 11:25:33 +01:00
gen_pnpids.sh backend/drm: use libdisplay-info to parse EDID 2023-02-28 14:44:02 +00:00
legacy.c backend/drm: fix drmModePageFlip() when disabling CRTC on legacy uAPI 2024-11-23 15:29:44 +01:00
libliftoff.c backend/drm: Remove reset from interface 2024-10-29 11:13:13 +01:00
meson.build add an option to enable/disable libliftoff 2024-06-05 22:33:05 -06:00
monitor.c backend/drm: drop wl_display argument 2024-01-25 15:05:36 +00:00
properties.c backend/drm: add support for explicit sync APIs 2024-08-06 17:37:06 +00:00
renderer.c backend/drm: Remove redundant error logs 2024-11-08 15:14:08 +01:00
util.c backend/drm: improve doc comment for match_connectors_with_crtcs_() 2024-09-02 17:12:32 +00:00