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

--- Comment #28 from Zamundaaa <xaver.h...@gmail.com> ---
Git commit c297b54c6f5e2890426d3091a7a0ebdef7b58cfa by Xaver Hugl.
Committed on 17/01/2024 at 22:27.
Pushed by zamundaaa into branch 'Plasma/6.0'.

backends/drm: ensure commits are done before vblank

If a commit is applied during vblank, the kernel delays it to the next vblank,
for X11 reasons. To ensure that doesn't happen with KWin, read how long
vblank is for the current mode and adjust the safety margin accordingly.


(cherry picked from commit 7007599b3f5dad7cd9b7ac93fbaeae7f8d5aa35c)

M  +12   -8    src/backends/drm/drm_commit_thread.cpp
M  +7    -1    src/backends/drm/drm_commit_thread.h
M  +5    -0    src/backends/drm/drm_connector.cpp
M  +1    -0    src/backends/drm/drm_connector.h
M  +9    -1    src/backends/drm/drm_pipeline.cpp
M  +1    -0    src/backends/drm/drm_pipeline.h
M  +7    -5    src/core/renderloop.cpp
M  +2    -0    src/core/renderloop.h
M  +1    -0    src/core/renderloop_p.h

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

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

Reply via email to