diff options
author | Simon Ser <contact@emersion.fr> | 2022-12-06 19:01:24 +0100 |
---|---|---|
committer | Simon Zeni <simon@bl4ckb0ne.ca> | 2022-12-13 19:15:09 +0000 |
commit | bde68b1df79cef058a75d28c52a1544044bf3f70 (patch) | |
tree | 499f9ecb619accb59f2d418303b0892ab4a910d3 /util | |
parent | 99fb2fefc340278b29c3af9a53a319059599c8c7 (diff) |
backend/drm: refuse to switch CRTC for enabled connector
match_obj() might return a configuration where the CRTC for an
enabled connector is switched to another one.
We don't support this correctly: the wlr_output common code would
need to query again the supported formats, re-allocate the
swapchain, etc.
What's more, the kernel doesn't even support this [1]: it
requires planes to be disabled to change their CRTC, it rejects
commits directly switching the CRTC used by a plane.
[1]: https://cgit.freedesktop.org/drm/drm-misc/tree/drivers/gpu/drm/drm_atomic.c?h=6e90293618ed476d6b11f82ce724efbb9e9a071b#n697
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions