panfrost: Recycle fixed-size transient BOs
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Fri, 12 Jul 2019 20:05:14 +0000 (13:05 -0700)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Fri, 12 Jul 2019 22:31:48 +0000 (15:31 -0700)
commit37097b2f3818e3a30319600f3441b96dc1261382
tree6ffbe1f243b92d291ec7746005150878e34d1277
parent0f5ad9efccc28fc78883ef10a1aad83d1013a4c3
panfrost: Recycle fixed-size transient BOs

The usual case. We use the bitset to mark freedom and seize it.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/gallium/drivers/panfrost/pan_allocate.c
src/gallium/drivers/panfrost/pan_job.c