diff options
author | Timothy Arceri <[email protected]> | 2017-03-05 10:41:29 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-03-07 08:23:26 +1100 |
commit | 3f58242863e03c47e3b37a63c84a965d12047612 (patch) | |
tree | 59627be6a5ad7d7f6dec85f2b066fe13b2aa0a81 /src/gallium/drivers | |
parent | 63d7a12fad8216dce4a0212c705678d2d07653b3 (diff) |
gallium/util: replace pipe_condvar_init() with cnd_init()
pipe_condvar_init() was made unnecessary with fd33a6bcd7f12.
Reviewed-by: Emil Velikov <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_fence.c | 2 | ||||
-rw-r--r-- | src/gallium/drivers/rbug/rbug_context.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_fence.c b/src/gallium/drivers/llvmpipe/lp_fence.c index a21a3c74484..1529981bbe5 100644 --- a/src/gallium/drivers/llvmpipe/lp_fence.c +++ b/src/gallium/drivers/llvmpipe/lp_fence.c @@ -53,7 +53,7 @@ lp_fence_create(unsigned rank) pipe_reference_init(&fence->reference, 1); pipe_mutex_init(fence->mutex); - pipe_condvar_init(fence->signalled); + cnd_init(&fence->signalled); fence->id = fence_id++; fence->rank = rank; diff --git a/src/gallium/drivers/rbug/rbug_context.c b/src/gallium/drivers/rbug/rbug_context.c index 1dd0f6d42d2..9634f88d5f4 100644 --- a/src/gallium/drivers/rbug/rbug_context.c +++ b/src/gallium/drivers/rbug/rbug_context.c @@ -1204,7 +1204,7 @@ rbug_context_create(struct pipe_screen *_screen, struct pipe_context *pipe) return NULL; pipe_mutex_init(rb_pipe->draw_mutex); - pipe_condvar_init(rb_pipe->draw_cond); + cnd_init(&rb_pipe->draw_cond); pipe_mutex_init(rb_pipe->call_mutex); pipe_mutex_init(rb_pipe->list_mutex); make_empty_list(&rb_pipe->shaders); |