> The modeset locks protect software state, but a nonblocking commit can
> swap that state before its hardware updates finish. DirtyFB can then
> race primary-surface replacement and draw into the preceding surface.
> 
> Wait for the current CRTC commits while holding the modeset locks before
> checking the primary and issuing dirty updates. Return wait and lock
> errors to the caller instead of reporting success.
> 
> Fixes: 9973c879cff7 ("drm: qxl: Atomic phase 3: Wire up atomic page_flip 
> helper")
> Assisted-by: LLM sparse
> Signed-off-by: Dillon Amburgey <[email protected]>

Sashiko has reviewed this patch and found no issues. It looks great!

-- 
Sashiko AI review ยท 
https://sashiko.dev/#/patchset/[email protected]?part=2

Reply via email to