freedreno: Drop fd_context_lock() and friends
authorRob Clark <robdclark@chromium.org>
Tue, 27 Oct 2020 23:44:38 +0000 (16:44 -0700)
committerMarge Bot <eric+marge@anholt.net>
Tue, 10 Nov 2020 17:58:44 +0000 (17:58 +0000)
commit57a2a5db81c614ac84c300c200639c51f218fb8a
treea1436b801e3896eb5b6951f9e62b6e6039afb54a
parent0d007349f910970ac14b20415fe76a84fd0f8fd5
freedreno: Drop fd_context_lock() and friends

These were actually just wrappers for the screen->lock, left over from
moving things around a long time ago.  Lets drop them to make things
more explicit (that we are locking the screen, not the context).

Involves a bit of shuffling things around to untangle header deps, but
no functional change.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7342>
src/gallium/drivers/freedreno/a3xx/fd3_emit.h
src/gallium/drivers/freedreno/a3xx/fd3_query.c
src/gallium/drivers/freedreno/a5xx/fd5_emit.h
src/gallium/drivers/freedreno/freedreno_batch.c
src/gallium/drivers/freedreno/freedreno_batch.h
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_fence.c
src/gallium/drivers/freedreno/freedreno_resource.c