panfrost: Index BOs from the BO map sparse array
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Tue, 26 May 2020 16:04:42 +0000 (12:04 -0400)
committerMarge Bot <eric+marge@anholt.net>
Mon, 13 Jul 2020 14:42:33 +0000 (14:42 +0000)
commit0aa6de967b99e5f5b65732b1b656ac06fd9f5122
tree66806a3fdb05ed3a98772e8983a9d67b4d2a2d01
parent169dbb5b08a1c5367dd7a1714cd547a7f3ecac3d
panfrost: Index BOs from the BO map sparse array

Now we have a central store of them, so we may remove active_bo.

v2: Squash two patches together to prevent a race condition mid-series.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5859>
src/panfrost/encoder/pan_bo.c
src/panfrost/encoder/pan_device.h
src/panfrost/encoder/pan_props.c