diff options
author | Boris Brezillon <[email protected]> | 2019-09-15 09:21:13 +0200 |
---|---|---|
committer | Boris Brezillon <[email protected]> | 2019-10-03 16:55:38 -0400 |
commit | ada752afe404a3afc96e401fc979d8040f30204b (patch) | |
tree | f024ff119a3d2fd88b5c94b6be12470fd630d12e /src/getopt/getopt.h | |
parent | 12f790f7dac469909a30fa6d882a2790207df9a2 (diff) |
panfrost: Extend the panfrost_batch_add_bo() API to pass access flags
The type of access being done on a BO has impacts on job scheduling
(shared resources being written enforce serialization while those
being read only allow for job parallelization) and BO lifetime (the
fragment job might last longer than the vertex/tiler ones, if we can,
it's good to release BOs earlier so that others can re-use them
through the BO re-use cache).
Let's pass extra access flags to panfrost_batch_add_bo() and
panfrost_batch_create_bo() so the batch submission logic can take the
appropriate when submitting batches. Note that this information is not
used yet, we're just patching callers to pass the correct flags here.
Signed-off-by: Boris Brezillon <[email protected]>
Reviewed-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/getopt/getopt.h')
0 files changed, 0 insertions, 0 deletions