diff options
author | Timothy Arceri <[email protected]> | 2017-03-05 10:41:31 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-03-07 08:23:26 +1100 |
commit | 74c879ac75d5e9262b668c8c6fdaa5d36e3c3bf3 (patch) | |
tree | 4600fd1eef8b5d964cfea8b10ba97286d6e0b292 /src/gallium/drivers/llvmpipe/lp_fence.c | |
parent | 1e0314281a7d2e57b0e0ad2296445dffdb26dbd2 (diff) |
gallium/util: replace pipe_condvar_wait() with cnd_wait()
pipe_condvar_wait() was made unnecessary with fd33a6bcd7f12.
Reviewed-by: Emil Velikov <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_fence.c')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_fence.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_fence.c b/src/gallium/drivers/llvmpipe/lp_fence.c index 3b35eb2e9f2..1a8e365f004 100644 --- a/src/gallium/drivers/llvmpipe/lp_fence.c +++ b/src/gallium/drivers/llvmpipe/lp_fence.c @@ -119,7 +119,7 @@ lp_fence_wait(struct lp_fence *f) pipe_mutex_lock(f->mutex); assert(f->issued); while (f->count < f->rank) { - pipe_condvar_wait(f->signalled, f->mutex); + cnd_wait(&f->signalled, &f->mutex); } pipe_mutex_unlock(f->mutex); } |