wlroots/backend/drm
Simon Ser 3b53d1cbf1 backend/drm: introduce page-flip tracking struct
Introduce a per-page-flip tracking struct passed to the kernel
when we request a page-flip event for an atomic commit. The kernel
will pass us back this pointer when delivering the event.

This eliminates any risk of mixing up events together. In particular,
if two events are pending, or if the CRTC of a connector is swapped,
we no longer blow up in the page-flip event handler.

Closes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3753
2023-11-17 16:59:04 +00:00
..
atomic.c backend/drm: introduce page-flip tracking struct 2023-11-17 16:59:04 +00:00
backend.c backend/drm: free fb later 2023-11-17 12:38:21 +08:00
drm.c backend/drm: introduce page-flip tracking struct 2023-11-17 16:59:04 +00:00
gen_pnpids.sh backend/drm: use libdisplay-info to parse EDID 2023-02-28 14:44:02 +00:00
legacy.c backend/drm: introduce page-flip tracking struct 2023-11-17 16:59:04 +00:00
libliftoff.c backend/drm: introduce page-flip tracking struct 2023-11-17 16:59:04 +00:00
meson.build backend/drm: use libdisplay-info for CVT mode generation 2023-02-28 14:44:02 +00:00
monitor.c treewide: Migrate from sizeof(struct) to sizeof(*pointer) where practical 2023-10-03 01:51:07 -04:00
properties.c backend/drm: set "max bpc" to the max 2022-06-19 16:55:36 +00:00
renderer.c Use struct initializers instead of memset() 2023-07-07 17:31:11 +02:00
util.c backend/drm: fix di_info memory leak 2023-05-08 10:16:25 +08:00