projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc78d77
)
anv: fix build failure
author
Nicolai Hähnle
<nicolai.haehnle@amd.com>
Thu, 9 Nov 2017 13:49:19 +0000
(14:49 +0100)
committer
Nicolai Hähnle
<nicolai.haehnle@amd.com>
Thu, 9 Nov 2017 13:49:19 +0000
(14:49 +0100)
Fixes: e3a8013de8ca ("util/u_queue: add util_queue_fence_wait_timeout")
src/intel/vulkan/anv_allocator.c
patch
|
blob
|
history
diff --git
a/src/intel/vulkan/anv_allocator.c
b/src/intel/vulkan/anv_allocator.c
index 4d8eea641a6f6805688d258776ad04ad0848f5d4..ce37ccb48812d384035083d4ce5d9160e1766f84 100644
(file)
--- 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;
}
}