fix(agc): retire fully released native depth owners #5524
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/5524"
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 Amoenus on 2026-10-13T22:23:01Z.
What
Retire native multisample depth owners when successful allocation releases cumulatively cover their complete depth and HTILE ranges. Partial releases, protection changes and failed releases preserve the original refusal. Retired owners leave lookup/metadata routing; held sampled views and recorded work keep their Vulkan images alive.
Keep the shared release observer installed while either color or depth guards remain, and pin registered mappings through owner creation. Main's existing color retirement remains intact.
The native-sampling prerequisite #5496 is merged. Own retirement topic on maina08 is one commit; Depends on: none.
Sonic Unleashed Recompiled PPSA99902 needs this in the conditional native-depth path: a successful full depth/HTILE release was followed by
sample-preserving guest publication of native multisample depth is not implementedfrom the stale owner. Pinned title/control evidence is in #3262, with bring-up #4443. This head has not been replayed on the title.Tested
Head da9fe3c70, base main
a08de6827f217115078660b9f47201edae59668b:active) and main #454's logical retirement (retired) predicates. Main's last-writer notification and reactivation remain intact. The clean merge preview into later maine49 is untested as a composition.Historical red controls and title evidence retain their pins. No new title replay, Linux or full-suite result is claimed. The registry regression uses a no-op host-release callback; it does not validate the host unmap backend. Full upstream CI requires maintainer dispatch.
Checklist
main(testeda08; clean merge previewe49); no other open PR implements the same functions.mdfiles or images added to the repositoryImported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-15T11:13:43Z.
Checked on the PR merged onto main: build and the libSceAgcDriver ctest scope (
agc_driver_native_multisample_depthand the newagc_driver_native_depth_retirementpass); with the production changes reverted the new retirement test fails. Theactivefilter is applied on every lookup, the unmap observer stays installed while color or depth guards remain, and the debt entry matches the diff. Merging once the full Build is green.