wlroots/include/backend
Simon Ser f0bb53c4ab backend/drm: implement KMS state snapshot/restore
Following ideas from [1], snapshot the entire KMS state when the VT
is switched away, and restore it when the VT is switched back.

> Well the neat trick is that userspace doesn’t need to be able to
> understand properties to save and restore them - the actual property
> value transport between kernel and userspace is fully generic.

That way, even if another DRM master changes a property we don't
understand like CTM or HDR_OUTPUT_METADATA, we can switch it back
and avoid getting garbage on screen.

[1]: https://blog.ffwll.ch/2016/01/vt-switching-with-atomic-modeset.html
2023-01-04 18:54:23 +01:00
..
drm backend/drm: implement KMS state snapshot/restore 2023-01-04 18:54:23 +01:00
session backend/drm: add wlr_drm_backend_monitor 2021-12-13 14:55:16 +01:00
backend.h backend: remove backend_get_allocator 2021-11-18 09:37:57 -05:00
headless.h backend: use global output name counters 2022-10-13 13:12:43 +02:00
libinput.h build: unify naming for HAVE_* defines 2022-12-06 22:39:45 +00:00
multi.h backend: drop wlr_backend_get_session() 2022-11-15 21:16:25 +00:00
wayland.h backend: use global output name counters 2022-10-13 13:12:43 +02:00
x11.h build: unify naming for HAVE_* defines 2022-12-06 22:39:45 +00:00