agc: use the mapped driver-dmem base instead of assuming a fixed address #1682
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
GPU
GUI
help wanted
question
Shaders
Video
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/KytyPS5--KytyPS5!1682
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/1682/head"
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?
@theantipopau on GitHub · 2026-10-19 01:28 UTC · original
theantipopau:agc-driver-dmem-flexible-base→main· +9 −2 · 1 files · 1 commits · closed without mergingFollow-up to #1669: with device selection fixed, KosmicKrisp startup stops at agc.cpp address != DriverDmemBase because the SceAgcDriver direct-memory mapping lands away from the historical 0x0fe0000000 hint. InitializeDmem already passes the base as a hint (flags=0); this records the actual mapping in DriverDmem.virtual_base, builds the AgcInit validator tables relative to it, logs the relocation, and clears the base on release instead of EXITing. No change when the hint mapping succeeds.
@coderabbitai[bot] on GitHub · 2026-10-19 01:33 UTC · original · edited 2026-10-19 01:37 UTC
No actionable comments were generated in the recent review. 🎉
ℹ️ Recent review info
⚙️ Run configuration
b550768d-5259-484e-831a-9ed261792b7d📥 Commits
Reviewing files that changed from the base of the PR and between
099de8dea6and5ee6b6e436.📒 Files selected for processing: 1
src/libs/agc.cppIncluded review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 6 remain after this review.
📝 Walkthrough
AGC initialization now uses the actual mapped address to locate the DMEM region when it differs from
DriverDmemBase. It records that address ing_driver_dmem.virtual_base.ReleaseDmemresets the recorded address to zero.Suggested reviewers:
nmzikPriority: ➖ Normal
Change: Bug fix
Merge Risk: ⚪ Minimal · up to
5ee6bThe relocated mapping is used for initialization’s DMEM addresses, addressing the reported startup condition. No actionable merge-blocking risk remains.
Pre-merge checks:
4 ·
1
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
❤️ Share
Comment
@coderabbitai helpto get the list of available commands.Pull request closed