diff options
author | Simon Ser <contact@emersion.fr> | 2024-02-14 20:04:22 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2024-02-15 09:56:33 +0100 |
commit | 17fe87af5e1a5fded8a210a2e6b281804d57bebe (patch) | |
tree | 4f7f0fb8df107f6e061a3298514a12e6fdb9793d /util | |
parent | 653e28d2a303304a280bd7fa51acbe27299b44d7 (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