diff options
author | Nicolai Hähnle <[email protected]> | 2017-11-09 14:49:19 +0100 |
---|---|---|
committer | Nicolai Hähnle <[email protected]> | 2017-11-09 14:49:19 +0100 |
commit | ffc20606165fc0287214356089830d72a50d5d73 (patch) | |
tree | e109efb5252c7f26193ffd37d502aee82731d655 /src/intel/vulkan/anv_allocator.c | |
parent | cc78d770439cfc1ae8ec0c802e5fcb5eae25979f (diff) |
anv: fix build failure
Fixes: e3a8013de8ca ("util/u_queue: add util_queue_fence_wait_timeout")
Diffstat (limited to 'src/intel/vulkan/anv_allocator.c')
-rw-r--r-- | src/intel/vulkan/anv_allocator.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } } |