diff options
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_fence.c')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_fence.c | 4 |
1 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 ec26bfe9532..e7c4ab6979e 100644 --- a/src/gallium/drivers/llvmpipe/lp_fence.c +++ b/src/gallium/drivers/llvmpipe/lp_fence.c @@ -88,7 +88,7 @@ lp_fence_signal(struct lp_fence *fence) if (LP_DEBUG & DEBUG_FENCE) debug_printf("%s %d\n", __FUNCTION__, fence->id); - pipe_mutex_lock(fence->mutex); + mtx_lock(&fence->mutex); fence->count++; assert(fence->count <= fence->rank); @@ -116,7 +116,7 @@ lp_fence_wait(struct lp_fence *f) if (LP_DEBUG & DEBUG_FENCE) debug_printf("%s %d\n", __FUNCTION__, f->id); - pipe_mutex_lock(f->mutex); + mtx_lock(&f->mutex); assert(f->issued); while (f->count < f->rank) { cnd_wait(&f->signalled, &f->mutex); |