asahi: Make BO list growable
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Mon, 5 Sep 2022 18:59:19 +0000 (14:59 -0400)
committerMarge Bot <emma+marge@anholt.net>
Tue, 6 Sep 2022 21:01:28 +0000 (21:01 +0000)
commit1a460d1c7e89461f7939563036a8eef565d5f58b
treea1729c44eab4c03d98bb8d11537bcddba17cc4ee
parent22f6efde023dab3a7e2929eee391c38a0a2ec25d
asahi: Make BO list growable

Back it by a simple dynamic array, ralloc'd off the batch (and make the
context/batch ralloc'd so stuff gets cleaned up).

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