summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/freedreno/drm
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2017-03-05 12:32:02 +1100
committerTimothy Arceri <[email protected]>2017-03-07 08:48:16 +1100
commitacdcaf9be4695ccdc4a589a3416591dd316e876c (patch)
tree7c7e1e3f0c1e7509141ed3c54571ebf847321f53 /src/gallium/winsys/freedreno/drm
parent2efddc63ee864ab917e444b68a7c2dcf520d451e (diff)
gallium/util: remove pipe_static_mutex()
This was made unnecessary with fd33a6bcd7f12. Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/winsys/freedreno/drm')
-rw-r--r--src/gallium/winsys/freedreno/drm/freedreno_drm_winsys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/winsys/freedreno/drm/freedreno_drm_winsys.c b/src/gallium/winsys/freedreno/drm/freedreno_drm_winsys.c
index e4785f83d96..9ccbce14a22 100644
--- a/src/gallium/winsys/freedreno/drm/freedreno_drm_winsys.c
+++ b/src/gallium/winsys/freedreno/drm/freedreno_drm_winsys.c
@@ -42,7 +42,7 @@
static struct util_hash_table *fd_tab = NULL;
-pipe_static_mutex(fd_screen_mutex);
+static mtx_t fd_screen_mutex = _MTX_INITIALIZER_NP;
static void
fd_drm_screen_destroy(struct pipe_screen *pscreen)