summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/panfrost/pan_job.h
diff options
context:
space:
mode:
authorBoris Brezillon <[email protected]>2019-09-05 21:41:29 +0200
committerBoris Brezillon <[email protected]>2019-09-08 16:22:26 +0200
commita2bba567aeaad0a0f83f171d5913b54509704e7a (patch)
treed48304dddcf94c6a8f69081506b854cc0c91abcc /src/gallium/drivers/panfrost/pan_job.h
parent12d8a17957a54ae201417b8539c3fa3bdc0761f2 (diff)
panfrost: Make transient allocation rely on the BO cache
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. Signed-off-by: Boris Brezillon <[email protected]> Reviewed-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/gallium/drivers/panfrost/pan_job.h')
-rw-r--r--src/gallium/drivers/panfrost/pan_job.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/panfrost/pan_job.h b/src/gallium/drivers/panfrost/pan_job.h
index 7e0b7b3f314..c9f48787121 100644
--- a/src/gallium/drivers/panfrost/pan_job.h
+++ b/src/gallium/drivers/panfrost/pan_job.h
@@ -107,8 +107,8 @@ struct panfrost_batch {
/* BOs referenced -- will be used for flushing logic */
struct set *bos;
- /* Indices of transient BOs referenced */
- struct util_dynarray transient_indices;
+ /* Current transient BO */
+ struct panfrost_bo *transient_bo;
/* Within the topmost transient BO, how much has been used? */
unsigned transient_offset;