Don't flush submission on DMA Copies

DMA copies utilized `SubmitWithFlush` instead of `Submit`, this is not required and incurs significant additional synchronization penalties which will no longer be required.
This commit is contained in:
Billy Laws 2022-07-29 03:36:38 +05:30 committed by PixelyIon
parent 0992fde028
commit b77da1182f
No known key found for this signature in database
GPG Key ID: 11BC6C3201BC2C05

View File

@ -36,7 +36,7 @@ namespace skyline::soc::gm20b::engine {
return; return;
} }
executor.SubmitWithFlush(); executor.Submit();
if (registers.launchDma->multiLineEnable) { if (registers.launchDma->multiLineEnable) {
if (registers.launchDma->srcMemoryLayout == Registers::LaunchDma::MemoryLayout::Pitch && if (registers.launchDma->srcMemoryLayout == Registers::LaunchDma::MemoryLayout::Pitch &&
registers.launchDma->dstMemoryLayout == Registers::LaunchDma::MemoryLayout::BlockLinear) registers.launchDma->dstMemoryLayout == Registers::LaunchDma::MemoryLayout::BlockLinear)