asahi: Make agx_alloc_staging() take a screen instead of a context
authorAsahi Lina <lina@asahilina.net>
Wed, 5 Apr 2023 11:17:51 +0000 (20:17 +0900)
committerMarge Bot <emma+marge@anholt.net>
Fri, 7 Apr 2023 03:23:04 +0000 (03:23 +0000)
commit4a5115c47b5ecf79460ab43294b46b36e29a18e4
tree1c523e9cd81973af9ada7e0186fa44a12c5b11eb
parent75e32128098a030be6dbf95f7151bd78e21bdf4d
asahi: Make agx_alloc_staging() take a screen instead of a context

This makes it clear that it is thread-safe.

Signed-off-by: Asahi Lina <lina@asahilina.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22353>
src/gallium/drivers/asahi/agx_pipe.c