fix(main): release parked waits one queue at a time when a replayed capture delta is applied #17921
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/17921"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-11-09T22:41:13Z.
What
Fixes main's red
agc_driver_frame_replay_busy_queue(run 42707019078;agc_driver_frame_replay_rewind_copyfailed once in the same run) after #12567.A capture delta read at idle holds both the title's fence store and the label the graphics queue writes. The replay restored the whole page while the graphics queue waited on the fence and the compute queue on the label, so the compute copy ran before graphics had written its source and the target stayed zero. When two or more non-REWIND waits are parked, the replay now applies the delta without the words they await, then writes those words one queue at a time, waiting for the queues to settle between them. Single-wait and REWIND paths are unchanged.
guest_job_manager_worker_spinis a flake with no culprit in the range (7 of 305 historically).Tested
Linux, lavapipe-class llvmpipe 20.1.2, no /dev/udmabuf (same as CI):
agc_driver_frame_replay_busy_queuefailed 6 of 6 before, passes 5 of 5 after.agc_driver_frame_replay,_rewind*,_wait_label,_fence_reuse,_concurrent,_cold_pipelines,_reservation_error: 14 of 14, three runs. Not reproduced:guest_job_manager_worker_spin.Checklist
main; no other open PR implements the same functions.mdfiles or images added to the repository