From e92293a601bbc141bb85f88f962264fa0b1da916 Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Mon, 6 Mar 2017 10:41:39 +1100 Subject: gallium/util: replace pipe_condvar with cnd_t MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit pipe_condvar was made unnecessary with fd33a6bcd7f12. Reviewed-by: Marek Olšák --- src/gallium/state_trackers/nine/nine_queue.c | 4 ++-- src/gallium/state_trackers/nine/nine_state.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gallium/state_trackers/nine') diff --git a/src/gallium/state_trackers/nine/nine_queue.c b/src/gallium/state_trackers/nine/nine_queue.c index 2a65a1e13ba..7a85798f0f4 100644 --- a/src/gallium/state_trackers/nine/nine_queue.c +++ b/src/gallium/state_trackers/nine/nine_queue.c @@ -72,8 +72,8 @@ struct nine_queue_pool { unsigned tail; unsigned cur_instr; BOOL worker_wait; - pipe_condvar event_pop; - pipe_condvar event_push; + cnd_t event_pop; + cnd_t event_push; mtx_t mutex_pop; mtx_t mutex_push; }; diff --git a/src/gallium/state_trackers/nine/nine_state.c b/src/gallium/state_trackers/nine/nine_state.c index bfceeeefeac..e6d215ac742 100644 --- a/src/gallium/state_trackers/nine/nine_state.c +++ b/src/gallium/state_trackers/nine/nine_state.c @@ -63,7 +63,7 @@ struct csmt_context { thrd_t worker; struct nine_queue_pool* pool; BOOL terminate; - pipe_condvar event_processed; + cnd_t event_processed; mtx_t mutex_processed; struct NineDevice9 *device; BOOL processed; -- cgit v1.2.3