diff options
Diffstat (limited to 'src/gallium/winsys/svga/drm/vmw_surface.c')
-rw-r--r-- | src/gallium/winsys/svga/drm/vmw_surface.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/winsys/svga/drm/vmw_surface.c b/src/gallium/winsys/svga/drm/vmw_surface.c index 460949dcbb6..69408ffe9d9 100644 --- a/src/gallium/winsys/svga/drm/vmw_surface.c +++ b/src/gallium/winsys/svga/drm/vmw_surface.c @@ -154,7 +154,7 @@ out_mapped: vsrf->data = data; vsrf->map_mode = flags & (PIPE_TRANSFER_READ | PIPE_TRANSFER_WRITE); out_unlock: - pipe_mutex_unlock(vsrf->mutex); + mtx_unlock(&vsrf->mutex); return data; } @@ -173,7 +173,7 @@ vmw_svga_winsys_surface_unmap(struct svga_winsys_context *swc, } else { *rebind = FALSE; } - pipe_mutex_unlock(vsrf->mutex); + mtx_unlock(&vsrf->mutex); } void |