diff options
author | Markus Wick <markus@selfnet.de> | 2019-12-30 13:03:20 +0100 |
---|---|---|
committer | Markus Wick <markus@selfnet.de> | 2019-12-30 13:04:53 +0100 |
commit | cb9dd01ffd3f54f5592330e3a37e2b26975bf209 (patch) | |
tree | dc41e5bea7e4844fceebbbb2d7481eb026bfcfd9 /src/core | |
parent | f846e3d6d0e973485a53bb87b913059060dcfdbc (diff) |
video_core: Block in WaitFence.
This function is called rarely and blocks quite often for a long time.
So don't waste power and let the CPU sleep.
This might also increase the performance as the other cores might be allowed to clock higher.
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/hle/service/nvflinger/nvflinger.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/nvflinger/nvflinger.cpp b/src/core/hle/service/nvflinger/nvflinger.cpp index 52623cf89..9810d2c64 100644 --- a/src/core/hle/service/nvflinger/nvflinger.cpp +++ b/src/core/hle/service/nvflinger/nvflinger.cpp @@ -192,7 +192,7 @@ void NVFlinger::Compose() { const auto& igbp_buffer = buffer->get().igbp_buffer; - const auto& gpu = system.GPU(); + auto& gpu = system.GPU(); const auto& multi_fence = buffer->get().multi_fence; for (u32 fence_id = 0; fence_id < multi_fence.num_fences; fence_id++) { const auto& fence = multi_fence.fences[fence_id]; |