mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 11:48:06 +02:00
anv: fix build failure
Fixes: e3a8013de8 ("util/u_queue: add util_queue_fence_wait_timeout")
This commit is contained in:
parent
cc78d77043
commit
ffc2060616
1 changed files with 2 additions and 2 deletions
|
|
@ -565,7 +565,7 @@ anv_block_pool_alloc_new(struct anv_block_pool *pool,
|
|||
futex_wake(&pool_state->end, INT_MAX);
|
||||
return state.next;
|
||||
} else {
|
||||
futex_wait(&pool_state->end, state.end);
|
||||
futex_wait(&pool_state->end, state.end, NULL);
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
|
@ -662,7 +662,7 @@ anv_fixed_size_state_pool_alloc_new(struct anv_fixed_size_state_pool *pool,
|
|||
futex_wake(&pool->block.end, INT_MAX);
|
||||
return offset;
|
||||
} else {
|
||||
futex_wait(&pool->block.end, block.end);
|
||||
futex_wait(&pool->block.end, block.end, NULL);
|
||||
goto restart;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue