panfrost: Expose pool-based allocation API

Graphics / Mesa 3D Graphics Library / Mesa - Alyssa Rosenzweig [collabora.com] - 9 July 2020 14:54 UTC

Pass pools instead of batches, and rename in terms of pools instead of transient memory for consistency while we're find-and-replacing.

8958fbd29e2 panfrost: Expose pool-based allocation API
src/gallium/drivers/panfrost/pan_allocate.c | 25 ++++++++---------
src/gallium/drivers/panfrost/pan_allocate.h | 5 ++--
src/gallium/drivers/panfrost/pan_cmdstream.c | 40 +++++++++++++--------------
src/gallium/drivers/panfrost/pan_fragment.c | 2 +-
src/gallium/drivers/panfrost/pan_job.c | 4 +--
src/gallium/drivers/panfrost/pan_mfbd.c | 2 +-
src/gallium/drivers/panfrost/pan_scoreboard.c | 4 +--
src/gallium/drivers/panfrost/pan_sfbd.c | 2 +-
8 files changed, 41 insertions(+), 43 deletions(-)

Upstream: cgit.freedesktop.org


  • Share