wlroots-hyprland/backend/drm
Simon Ser 17fe87af5e backend/drm: skip reset after VT switch if possible
If all connectors and planes already have the right CRTC set, or
are disabled, we can skip the device-wide reset after a VT switch.

I've contemplated using a more fine-grained logic to only reset
the connectors, CRTCs and planes that need to be migrated. However,
writing a correct algorithm for this would be quite involved, and it
doesn't seem worth the trouble anyways.

Closes: https://github.com/swaywm/sway/issues/7956
2024-02-15 09:56:33 +01:00
..
atomic.c backend/drm: atomically reset state after VT switch 2024-02-14 19:13:23 +01:00
backend.c backend/drm: move restore logic to drm.c 2024-02-15 09:37:46 +01:00
drm.c backend/drm: skip reset after VT switch if possible 2024-02-15 09:56:33 +01:00
fb.c backend/drm: split wlr_drm_fb related functions into separate file 2023-11-30 14:44:46 +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: atomically reset state after VT switch 2024-02-14 19:13:23 +01:00
libliftoff.c backend/drm: atomically reset state after VT switch 2024-02-14 19:13:23 +01:00
meson.build backend/drm: split wlr_drm_fb related functions into separate file 2023-11-30 14:44:46 +00:00
monitor.c backend/drm: drop wl_display argument 2024-01-25 15:05:36 +00:00
properties.c backend/drm: set "max bpc" to the max 2022-06-19 16:55:36 +00:00
renderer.c allocator: remove backend parameter in allocator_autocreate_with_drm_fd 2024-02-02 16:36:31 -05:00
util.c backend/drm: fix di_info memory leak 2023-05-08 10:16:25 +08:00