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.
This commit is contained in:
parent
f846e3d6d0
commit
cb9dd01ffd
3 changed files with 9 additions and 5 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue