summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/pipebuffer/pb_cache.h
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2017-03-05 12:32:01 +1100
committerTimothy Arceri <[email protected]>2017-03-07 08:48:11 +1100
commit2efddc63ee864ab917e444b68a7c2dcf520d451e (patch)
treec5b3e14ccdf933775310fe593f6c14baf2b88f7b /src/gallium/auxiliary/pipebuffer/pb_cache.h
parent464d4806c112c6d224a55b328cde327a025acd91 (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/auxiliary/pipebuffer/pb_cache.h')
-rw-r--r--src/gallium/auxiliary/pipebuffer/pb_cache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/pipebuffer/pb_cache.h b/src/gallium/auxiliary/pipebuffer/pb_cache.h
index 7000fcd1c5a..d082eca8b5d 100644
--- a/src/gallium/auxiliary/pipebuffer/pb_cache.h
+++ b/src/gallium/auxiliary/pipebuffer/pb_cache.h
@@ -52,7 +52,7 @@ struct pb_cache
*/
struct list_head buckets[4];
- pipe_mutex mutex;
+ mtx_t mutex;
uint64_t cache_size;
uint64_t max_cache_size;
unsigned usecs;