From: Nicolai Hähnle Date: Thu, 9 Nov 2017 13:49:19 +0000 (+0100) Subject: anv: fix build failure X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ffc20606165fc0287214356089830d72a50d5d73;p=mesa.git anv: fix build failure Fixes: e3a8013de8ca ("util/u_queue: add util_queue_fence_wait_timeout") --- diff --git a/src/intel/vulkan/anv_allocator.c b/src/intel/vulkan/anv_allocator.c index 4d8eea641a6..ce37ccb4881 100644 --- a/src/intel/vulkan/anv_allocator.c +++ b/src/intel/vulkan/anv_allocator.c @@ -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; } }