diff options
Diffstat (limited to 'src/gallium/auxiliary/pipebuffer')
-rw-r--r-- | src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c | 2 | ||||
-rw-r--r-- | src/gallium/auxiliary/pipebuffer/pb_bufmgr_debug.c | 4 | ||||
-rw-r--r-- | src/gallium/auxiliary/pipebuffer/pb_cache.c | 2 | ||||
-rw-r--r-- | src/gallium/auxiliary/pipebuffer/pb_slab.c | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c b/src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c index fefdcefaf53..b3b78284b4a 100644 --- a/src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c +++ b/src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c @@ -992,7 +992,7 @@ fenced_bufmgr_destroy(struct pb_manager *mgr) #endif pipe_mutex_unlock(fenced_mgr->mutex); - pipe_mutex_destroy(fenced_mgr->mutex); + mtx_destroy(&fenced_mgr->mutex); if (fenced_mgr->provider) fenced_mgr->provider->destroy(fenced_mgr->provider); diff --git a/src/gallium/auxiliary/pipebuffer/pb_bufmgr_debug.c b/src/gallium/auxiliary/pipebuffer/pb_bufmgr_debug.c index f614abfc2e8..33f068e13fb 100644 --- a/src/gallium/auxiliary/pipebuffer/pb_bufmgr_debug.c +++ b/src/gallium/auxiliary/pipebuffer/pb_bufmgr_debug.c @@ -240,7 +240,7 @@ pb_debug_buffer_destroy(struct pb_buffer *_buf) LIST_DEL(&buf->head); pipe_mutex_unlock(mgr->mutex); - pipe_mutex_destroy(buf->mutex); + mtx_destroy(&buf->mutex); pb_reference(&buf->buffer, NULL); FREE(buf); @@ -449,7 +449,7 @@ pb_debug_manager_destroy(struct pb_manager *_mgr) } pipe_mutex_unlock(mgr->mutex); - pipe_mutex_destroy(mgr->mutex); + mtx_destroy(&mgr->mutex); mgr->provider->destroy(mgr->provider); FREE(mgr); } diff --git a/src/gallium/auxiliary/pipebuffer/pb_cache.c b/src/gallium/auxiliary/pipebuffer/pb_cache.c index 422318c599b..adae22270aa 100644 --- a/src/gallium/auxiliary/pipebuffer/pb_cache.c +++ b/src/gallium/auxiliary/pipebuffer/pb_cache.c @@ -298,5 +298,5 @@ void pb_cache_deinit(struct pb_cache *mgr) { pb_cache_release_all_buffers(mgr); - pipe_mutex_destroy(mgr->mutex); + mtx_destroy(&mgr->mutex); } diff --git a/src/gallium/auxiliary/pipebuffer/pb_slab.c b/src/gallium/auxiliary/pipebuffer/pb_slab.c index 6f6664f4297..9ad88db257c 100644 --- a/src/gallium/auxiliary/pipebuffer/pb_slab.c +++ b/src/gallium/auxiliary/pipebuffer/pb_slab.c @@ -248,5 +248,5 @@ pb_slabs_deinit(struct pb_slabs *slabs) } FREE(slabs->groups); - pipe_mutex_destroy(slabs->mutex); + mtx_destroy(&slabs->mutex); } |