freedreno: add screen lock wrappers
authorRob Clark <robdclark@chromium.org>
Tue, 28 Apr 2020 20:04:16 +0000 (13:04 -0700)
committerMarge Bot <eric+marge@anholt.net>
Wed, 29 Apr 2020 20:37:00 +0000 (20:37 +0000)
commit336a8cd82a4070674ecc056be0af791bf6c7d042
tree105d40c26c4524886103c927ec1c960771090e29
parent8aacaeca685c4e705a3237c2187f2f9bcef23339
freedreno: add screen lock wrappers

This will make it easier to swap out to simple_mtx_t

Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4810>
src/gallium/drivers/freedreno/a6xx/fd6_blitter.c
src/gallium/drivers/freedreno/freedreno_batch.c
src/gallium/drivers/freedreno/freedreno_batch_cache.c
src/gallium/drivers/freedreno/freedreno_context.c
src/gallium/drivers/freedreno/freedreno_context.h
src/gallium/drivers/freedreno/freedreno_draw.c
src/gallium/drivers/freedreno/freedreno_gmem.c
src/gallium/drivers/freedreno/freedreno_query_acc.c
src/gallium/drivers/freedreno/freedreno_resource.c
src/gallium/drivers/freedreno/freedreno_screen.h