https://bugs.kde.org/show_bug.cgi?id=456298

Zamundaaa <xaver.h...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/kwin/commit/a71146c99972 |ma/kwin/commit/913ca1d6e8cf
                   |8b06654ba247644b6b22609f0df |06602816cd3c7f26b0c2a47bdbd
                   |f                           |7

--- Comment #5 from Zamundaaa <xaver.h...@gmail.com> ---
Git commit 913ca1d6e8cf06602816cd3c7f26b0c2a47bdbd7 by Xaver Hugl.
Committed on 05/07/2022 at 19:36.
Pushed by zamundaaa into branch 'Plasma/5.25'.

backends/drm: don't remove connectors the kernel doesn't consider removed

Removing connectors that are still powered leads to a mismatch in atomic
commits: the crtc is still powered, but the connector also still there.
If KWin tries to disable the crtc afterwards, the atomic commits fail because
the connector needs to be disabled at the same time and it's missing from the
atomic commit request.

To fix this, whenever we fail to fetch information or get wrong data from
the kernel (like 0 modes), use the cached information instead and keep the
connector.


(cherry picked from commit a71146c999728b06654ba247644b6b22609f0dff)

M  +22   -28   src/backends/drm/drm_gpu.cpp
M  +5    -4    src/backends/drm/drm_object_connector.cpp

https://invent.kde.org/plasma/kwin/commit/913ca1d6e8cf06602816cd3c7f26b0c2a47bdbd7

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to