Revert "Merge pull request #7668 from ameerj/fence-stop-token"

This reverts commit e773354477, reversing
changes made to abbbdc2bc0.
This commit is contained in:
ameerj 2022-01-03 20:28:54 -05:00
parent e773354477
commit 7652543231
3 changed files with 15 additions and 10 deletions

View file

@ -266,11 +266,10 @@ void NVFlinger::Compose() {
auto& gpu = system.GPU();
const auto& multi_fence = buffer->get().multi_fence;
const auto stop_token = vsync_thread.get_stop_token();
guard->unlock();
for (u32 fence_id = 0; fence_id < multi_fence.num_fences; fence_id++) {
const auto& fence = multi_fence.fences[fence_id];
gpu.WaitFence(fence.id, fence.value, stop_token);
gpu.WaitFence(fence.id, fence.value);
}
guard->lock();