mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-26 08:15:59 +03:00
[PR #2680] [MERGED] Implement DmaDataSrc::MemoryUsingL2 and DmaDataDst::MemoryUsingL2 #2906
Labels
No labels
Bloodborne
bug
contributor wanted
documentation
enhancement
frontend
good first issue
help wanted
linux
pull-request
question
release
verification progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shadPS4#2906
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
📋 Pull Request Information
Original PR: https://github.com/shadps4-emu/shadPS4/pull/2680
Author: @kalaposfos13
Created: 3/24/2025
Status: ✅ Merged
Merged: 3/26/2025
Merged by: @georgemoralis
Base:
main← Head:dmadata-l2📝 Commits (2)
784e055Implement DmaDataSrc::MemoryUsingL2 and DmaDataDst::MemoryUsingL2600d368Add L2 handling to the other place it's used📊 Changes
2 files changed (+22 additions, -10 deletions)
View changed files
📝
src/video_core/amdgpu/liverpool.cpp(+20 -10)📝
src/video_core/amdgpu/pm4_cmds.h(+2 -0)📄 Description
Implements the above two DmaData source and destination types, by handling them the same way as ::Memory is handled. This is based on observations in CUSA01127 (which uses this), and also code from fpPS4:
https://github.com/red-prig/fpPS4/blob/kern/chip/pm4defs.pas#L552-L567
https://github.com/red-prig/fpPS4/blob/kern/chip/pm4_me.pas#L2978
Fixes the following unreachable in CUSA01127, CUSA00575 and CUSA00211:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.