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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/kwin/-/commit/c1312a5551
                   |                            |69c801b2c116a7b333443730092
                   |                            |e07
             Status|ASSIGNED                    |RESOLVED

--- Comment #7 from Zamundaaa <xaver.h...@gmail.com> ---
Git commit c1312a555169c801b2c116a7b333443730092e07 by Xaver Hugl.
Committed on 09/11/2023 at 12:35.
Pushed by zamundaaa into branch 'master'.

backends/drm: fix pageflip events getting lost when outputs get turned off

When a display gets turned off while a pageflip event was still pending, the
pending
state gets changed immediately, without waiting for the pageflip event to
arrive first.
When this happens, activePending() returns false, and so the pageflip event
gets discarded.
This commit changes the logic to only check for activePending() when the
pageflip is for a
modeset, avoiding that issue.
Related: bug 476341, bug 476342, bug 437520, bug 475146

M  +10   -2    src/backends/drm/drm_commit.cpp
M  +2    -0    src/backends/drm/drm_commit.h
M  +5    -2    src/backends/drm/drm_pipeline.cpp
M  +2    -1    src/backends/drm/drm_pipeline.h

https://invent.kde.org/plasma/kwin/-/commit/c1312a555169c801b2c116a7b333443730092e07

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

Reply via email to