diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-07-12 13:59:35 -0700 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-07-12 15:31:48 -0700 |
commit | ee32700f37583613855965995018ac5b1f42e8a3 (patch) | |
tree | a74b84369d62fabbdb5ade19095ae4732422c6ef /src/gallium/drivers/panfrost/pan_job.h | |
parent | 37097b2f3818e3a30319600f3441b96dc1261382 (diff) |
panfrost: Subdivide fixed-size transient slabs
The whole purpose of the transient memory model is to make subdivision
stupidly easy, so let's handle that.
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/gallium/drivers/panfrost/pan_job.h')
-rw-r--r-- | src/gallium/drivers/panfrost/pan_job.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/panfrost/pan_job.h b/src/gallium/drivers/panfrost/pan_job.h index 9dce1e69415..c6ae2a4eb9f 100644 --- a/src/gallium/drivers/panfrost/pan_job.h +++ b/src/gallium/drivers/panfrost/pan_job.h @@ -109,6 +109,9 @@ struct panfrost_job { /* Indices of transient BOs referenced */ struct util_dynarray transient_indices; + + /* Within the topmost transient BO, how much has been used? */ + unsigned transient_offset; }; /* Functions for managing the above */ |