panfrost: Add panfrost_transient_bo array
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Thu, 11 Jul 2019 17:34:40 +0000 (10:34 -0700)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Fri, 12 Jul 2019 22:31:47 +0000 (15:31 -0700)
commit330cd057adb04a7e579e8e9ba7e3952b448928a8
tree0a3c664e3df97ed50626f1a689003511d427cd38
parent718ebfa2259cb50efc05541af205842b6630cf43
panfrost: Add panfrost_transient_bo array

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

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