panfrost: Add BO cache data structure

Graphics / Mesa 3D Graphics Library / Mesa - Alyssa Rosenzweig [collabora.com] - 15 July 2019 23:12 EDT

Linked list of panfrost_bo* nested inside an array of buckets.

270733fe6af panfrost: Add BO cache data structure
src/gallium/drivers/panfrost/pan_allocate.h | 5 +++++
src/gallium/drivers/panfrost/pan_screen.c | 3 +++
src/gallium/drivers/panfrost/pan_screen.h | 16 ++++++++++++++++
3 files changed, 24 insertions(+)

Upstream: cgit.freedesktop.org


  • Share