aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2024-02-14 20:04:22 +0100
committerSimon Ser <contact@emersion.fr>2024-02-15 09:56:33 +0100
commit17fe87af5e1a5fded8a210a2e6b281804d57bebe (patch)
tree4f7f0fb8df107f6e061a3298514a12e6fdb9793d /util
parent653e28d2a303304a280bd7fa51acbe27299b44d7 (diff)
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
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions