diff options
author | Boris Brezillon <[email protected]> | 2019-08-30 15:38:56 +0200 |
---|---|---|
committer | Boris Brezillon <[email protected]> | 2019-08-30 22:13:41 +0200 |
commit | 9087cf70153ebc412982dc38db3829adf27ebb39 (patch) | |
tree | a563baa64ee52a19f300579b3dde0f0592d41d3a /src/gallium/Android.mk | |
parent | b2ff2dfc2a8797260d7b87a5cc6188d891f713ff (diff) |
panfrost: Add transient BOs to job batches
Memory allocated through panfrost_allocate_transient() is likely to
come from the transient pool. Let's add the BO backing the allocated
memory region to the job batch so the kernel can retain this BO while
jobs are executed.
In practice that has never been a problem because the transient pool
is never shrinked, and even if it was, we still control the lifetime of
the job, so there's no reason for this BO to be freed before the GPU is
done executing the batch. But it still make sense to add the BO for
debugging purpose.
Signed-off-by: Boris Brezillon <[email protected]>
Reviewed-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/gallium/Android.mk')
0 files changed, 0 insertions, 0 deletions