diff options
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_screen.c')
-rw-r--r-- | src/gallium/drivers/freedreno/freedreno_screen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/freedreno/freedreno_screen.c b/src/gallium/drivers/freedreno/freedreno_screen.c index 346ff856fbc..892adad3f24 100644 --- a/src/gallium/drivers/freedreno/freedreno_screen.c +++ b/src/gallium/drivers/freedreno/freedreno_screen.c @@ -156,7 +156,7 @@ fd_screen_destroy(struct pipe_screen *pscreen) slab_destroy_parent(&screen->transfer_pool); - mtx_destroy(&screen->lock); + simple_mtx_destroy(&screen->lock); ralloc_free(screen->compiler); @@ -964,7 +964,7 @@ fd_screen_create(struct fd_device *dev, struct renderonly *ro) list_inithead(&screen->context_list); - (void) mtx_init(&screen->lock, mtx_plain); + (void) simple_mtx_init(&screen->lock, mtx_plain); pscreen->destroy = fd_screen_destroy; pscreen->get_param = fd_screen_get_param; |