srdusr
aboutsummaryrefslogtreecommitdiffstats
path: root/crates/core/src
diff options
context:
space:
mode:
authorsrdusr <[email protected]>2024-08-29 21:31:00 +0200
committersrdusr <[email protected]>2024-08-29 21:31:00 +0200
commit3509cf6127185d9fed5a63ceca18a003213a20d7 (patch)
tree661e39acfebd37cbb6abaddc686df724d869b988 /crates/core/src
parent4fb537aa4cfe52e364dbcd9a97078f0206ada54b (diff)
downloadsrdwm-3509cf6127185d9fed5a63ceca18a003213a20d7.tar.gz
srdwm-3509cf6127185d9fed5a63ceca18a003213a20d7.zip
Fix VT-switch resume getting stuck on a stale pending page flip
A flip issued right before a VT switch away could still be undelivered when the session resumed - the kernel refuses a new page flip on a CRTC with one already outstanding, which showed up live as a black screen that never recovered across two switch attempts, with a rapid repeating "Device or resource busy" loop in the log. Drain and apply any pending DRM events before reasserting CRTCs and rendering again on resume, so a stale flip from before the switch can't collide with the fresh one.
Diffstat (limited to 'crates/core/src')
0 files changed, 0 insertions, 0 deletions