On 6/16/26 22:18, [email protected] wrote:
>
> 2. There is a window during commit where a flip is armed (pflip_status =
> SUBMITTED) but not yet programmed into HW. If the VUPDATE_NO_LOCK
> fires in that window, it's handler would deliver a flip event to
> userspace before HW has latched to it. If userspace then renders to
> what it believes is now the back buffer (but HW is still latched to
> it!), it will cause display corruption. (This issue seemed to have
> existed ever since the introduction of pflip_status.
AFAICT this issue was introduced by 1159898a88db ("drm/amd/display: Handle
commit plane with no FB.").
pflip_status was already there before DC, and AFAICT amdgpu_flip_work_func has
always handled this correctly.
--
Earthling Michel Dänzer \ GNOME / Xwayland / Mesa developer
https://redhat.com \ Libre software enthusiast