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/state_trackers/nine/nine_queue.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/state_trackers/nine/nine_queue.c')
-rw-r--r-- | src/gallium/state_trackers/nine/nine_queue.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/nine/nine_queue.c b/src/gallium/state_trackers/nine/nine_queue.c index 004d5816b84..fdfbdbb2472 100644 --- a/src/gallium/state_trackers/nine/nine_queue.c +++ b/src/gallium/state_trackers/nine/nine_queue.c @@ -89,7 +89,7 @@ nine_queue_wait_flush(struct nine_queue_pool* ctx) while (!cmdbuf->full) { DBG("waiting for full cmdbuf\n"); - pipe_condvar_wait(ctx->event_push, ctx->mutex_push); + cnd_wait(&ctx->event_push, &ctx->mutex_push); } DBG("got cmdbuf=%p\n", cmdbuf); pipe_mutex_unlock(ctx->mutex_push); @@ -162,7 +162,7 @@ nine_queue_flush(struct nine_queue_pool* ctx) while (cmdbuf->full) { DBG("waiting for empty cmdbuf\n"); - pipe_condvar_wait(ctx->event_pop, ctx->mutex_pop); + cnd_wait(&ctx->event_pop, &ctx->mutex_pop); } DBG("got empty cmdbuf=%p\n", cmdbuf); pipe_mutex_unlock(ctx->mutex_pop); |