Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vk: Fix cyclic read-write in dma_block::load/flush #9818

Merged
merged 1 commit into from Feb 21, 2021
Merged

Conversation

kd-11
Copy link
Contributor

@kd-11 kd-11 commented Feb 21, 2021

Some DMA block entries are stubs whose parents are DMA_block_EXT entries. Performing load() in this case becomes a memcpy(address, same_address_again, length) which wastes performance and introduces bugs.

Improves performance when using passthrough DMA. I've only tested on an AMD GPU, NV GPUs have other more complicated issues with passthrough that are still being worked on behind the scenes.

Some DMA block entries are stubs whose parents are DMA_block_EXT
entries.
Performing load() in this case becomes a memcpy(address,
same_address_again, length) which wastes performance and introduces
bugs.
@kd-11 kd-11 merged commit b7c2bfb into RPCS3:master Feb 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant