wlroots/include/backend/drm
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
..
cvt.h backend/drm: add support for custom modes 2019-10-27 10:46:47 -04:00
drm.h backend/drm: implement KMS state snapshot/restore 2023-01-04 18:54:23 +01:00
iface.h backend/drm: implement KMS state snapshot/restore 2023-01-04 18:54:23 +01:00
monitor.h backend/drm: add wlr_drm_backend_monitor 2021-12-13 14:55:16 +01:00
properties.h backend/drm: set "max bpc" to the max 2022-06-19 16:55:36 +00:00
renderer.h backend/drm: store pending FB in state 2022-12-07 17:45:59 +01:00
util.h backend/drm: implement KMS state snapshot/restore 2023-01-04 18:54:23 +01:00