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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|REPORTED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/kwin/commit/a71146c99972
                   |                            |8b06654ba247644b6b22609f0df
                   |                            |f

--- Comment #4 from Zamundaaa <xaver.h...@gmail.com> ---
Git commit a71146c999728b06654ba247644b6b22609f0dff by Xaver Hugl.
Committed on 05/07/2022 at 19:11.
Pushed by zamundaaa into branch 'master'.

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.

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/a71146c999728b06654ba247644b6b22609f0dff

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

Reply via email to