asahi: Factor out prepare_for_map
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Thu, 17 Nov 2022 18:37:36 +0000 (13:37 -0500)
committerMarge Bot <emma+marge@anholt.net>
Sat, 19 Nov 2022 15:33:16 +0000 (15:33 +0000)
commit3104b1aaaf934ad5bef5dda129d516c72c5065c0
treecab7b614abc0d79278ad96f4d5b2f8366fc30e16
parent9c1c1888d9895d05246005620953ee307d1a17f1
asahi: Factor out prepare_for_map

This will be expanded, let's expand in the direction of less spaghetti.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19865>
src/gallium/drivers/asahi/agx_pipe.c