From 464d4806c112c6d224a55b328cde327a025acd91 Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Sun, 5 Mar 2017 10:41:33 +1100 Subject: gallium/util: replace pipe_condvar_broadcast() with cnd_broadcast() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit pipe_condvar_broadcast() was made unnecessary with fd33a6bcd7f12. Reviewed-by: Emil Velikov Reviewed-by: Marek Olšák --- src/gallium/drivers/llvmpipe/lp_fence.c | 2 +- src/gallium/drivers/rbug/rbug_core.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/gallium/drivers') diff --git a/src/gallium/drivers/llvmpipe/lp_fence.c b/src/gallium/drivers/llvmpipe/lp_fence.c index 1a8e365f004..115589f8705 100644 --- a/src/gallium/drivers/llvmpipe/lp_fence.c +++ b/src/gallium/drivers/llvmpipe/lp_fence.c @@ -99,7 +99,7 @@ lp_fence_signal(struct lp_fence *fence) /* Wakeup all threads waiting on the mutex: */ - pipe_condvar_broadcast(fence->signalled); + cnd_broadcast(&fence->signalled); pipe_mutex_unlock(fence->mutex); } diff --git a/src/gallium/drivers/rbug/rbug_core.c b/src/gallium/drivers/rbug/rbug_core.c index dedbc14e8d8..3bb781b57bf 100644 --- a/src/gallium/drivers/rbug/rbug_core.c +++ b/src/gallium/drivers/rbug/rbug_core.c @@ -409,7 +409,7 @@ rbug_context_draw_step(struct rbug_rbug *tr_rbug, struct rbug_header *header, ui } pipe_mutex_unlock(rb_context->draw_mutex); - pipe_condvar_broadcast(rb_context->draw_cond); + cnd_broadcast(&rb_context->draw_cond); pipe_mutex_unlock(rb_screen->list_mutex); @@ -442,7 +442,7 @@ rbug_context_draw_unblock(struct rbug_rbug *tr_rbug, struct rbug_header *header, rb_context->draw_blocker &= ~unblock->unblock; pipe_mutex_unlock(rb_context->draw_mutex); - pipe_condvar_broadcast(rb_context->draw_cond); + cnd_broadcast(&rb_context->draw_cond); pipe_mutex_unlock(rb_screen->list_mutex); @@ -474,7 +474,7 @@ rbug_context_draw_rule(struct rbug_rbug *tr_rbug, struct rbug_header *header, ui rb_context->draw_blocker |= RBUG_BLOCK_RULE; pipe_mutex_unlock(rb_context->draw_mutex); - pipe_condvar_broadcast(rb_context->draw_cond); + cnd_broadcast(&rb_context->draw_cond); pipe_mutex_unlock(rb_screen->list_mutex); -- cgit v1.2.3