diff options
author | Timothy Arceri <[email protected]> | 2017-03-05 12:32:01 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-03-07 08:48:11 +1100 |
commit | 2efddc63ee864ab917e444b68a7c2dcf520d451e (patch) | |
tree | c5b3e14ccdf933775310fe593f6c14baf2b88f7b /src/gallium/winsys/svga/drm | |
parent | 464d4806c112c6d224a55b328cde327a025acd91 (diff) |
gallium/util: replace pipe_mutex with mtx_t
pipe_mutex was made unnecessary with fd33a6bcd7f12.
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/winsys/svga/drm')
-rw-r--r-- | src/gallium/winsys/svga/drm/pb_buffer_simple_fenced.c | 2 | ||||
-rw-r--r-- | src/gallium/winsys/svga/drm/vmw_fence.c | 2 | ||||
-rw-r--r-- | src/gallium/winsys/svga/drm/vmw_surface.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/winsys/svga/drm/pb_buffer_simple_fenced.c b/src/gallium/winsys/svga/drm/pb_buffer_simple_fenced.c index d049d1dbc46..4c5a12121f8 100644 --- a/src/gallium/winsys/svga/drm/pb_buffer_simple_fenced.c +++ b/src/gallium/winsys/svga/drm/pb_buffer_simple_fenced.c @@ -70,7 +70,7 @@ struct fenced_manager /** * Following members are mutable and protected by this mutex. */ - pipe_mutex mutex; + mtx_t mutex; /** * Fenced buffer list. diff --git a/src/gallium/winsys/svga/drm/vmw_fence.c b/src/gallium/winsys/svga/drm/vmw_fence.c index bcf473a932c..0fbb078a84d 100644 --- a/src/gallium/winsys/svga/drm/vmw_fence.c +++ b/src/gallium/winsys/svga/drm/vmw_fence.c @@ -40,7 +40,7 @@ struct vmw_fence_ops struct pb_fence_ops base; struct vmw_winsys_screen *vws; - pipe_mutex mutex; + mtx_t mutex; /* * Protected by mutex; diff --git a/src/gallium/winsys/svga/drm/vmw_surface.h b/src/gallium/winsys/svga/drm/vmw_surface.h index f8b582d2cef..baeef5056bd 100644 --- a/src/gallium/winsys/svga/drm/vmw_surface.h +++ b/src/gallium/winsys/svga/drm/vmw_surface.h @@ -57,7 +57,7 @@ struct vmw_svga_winsys_surface unsigned next_present_no; uint32_t present_fences[VMW_MAX_PRESENTS]; - pipe_mutex mutex; + mtx_t mutex; struct svga_winsys_buffer *buf; /* Current backing guest buffer */ uint32_t mapcount; /* Number of mappers */ uint32_t map_mode; /* PIPE_TRANSFER_[READ|WRITE] */ |