panfrost: Make transient allocation rely on the BO cache

Graphics / Mesa 3D Graphics Library / Mesa - Boris Brezillon [collabora.com] - 8 September 2019 14:22 EDT

Right now, the transient memory allocator implements its own BO caching mechanism, which is not really needed since we already have a generic BO cache. Let's simplify things a bit.

a2bba567aea panfrost: Make transient allocation rely on the BO cache
src/gallium/drivers/panfrost/pan_allocate.c | 80 +++++------------------------
src/gallium/drivers/panfrost/pan_job.c | 11 ----
src/gallium/drivers/panfrost/pan_job.h | 4 +-
src/gallium/drivers/panfrost/pan_screen.c | 4 --
src/gallium/drivers/panfrost/pan_screen.h | 21 --------
5 files changed, 16 insertions(+), 104 deletions(-)

Upstream: cgit.freedesktop.org


  • Share