Browse Source
Merge pull request #1905 from bunnei/ignore-empty-gpu-lists
nvhost_gpu: Skip empty GPU command lists.
pull/15/merge
bunnei
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
0 deletions
-
src/core/hle/service/nvdrv/devices/nvhost_gpu.cpp
|
|
|
@ -137,6 +137,10 @@ u32 nvhost_gpu::AllocateObjectContext(const std::vector<u8>& input, std::vector< |
|
|
|
} |
|
|
|
|
|
|
|
static void PushGPUEntries(Tegra::CommandList&& entries) { |
|
|
|
if (entries.empty()) { |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|
auto& dma_pusher{Core::System::GetInstance().GPU().DmaPusher()}; |
|
|
|
dma_pusher.Push(std::move(entries)); |
|
|
|
dma_pusher.DispatchCalls(); |
|
|
|
|