panfrost: Add panfrost_transient_bo array

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

We would like transient allocations to occur on the screen (borrowed by the batch) rather than on the context. Add fields to track this.

330cd057adb panfrost: Add panfrost_transient_bo array
src/gallium/drivers/panfrost/pan_allocate.c | 18 ++++++++++++++++++
src/gallium/drivers/panfrost/pan_screen.c | 2 ++
src/gallium/drivers/panfrost/pan_screen.h | 27 +++++++++++++++++++++++++++
3 files changed, 47 insertions(+)

Upstream: cgit.freedesktop.org


  • Share