diff options
author | Tomeu Vizoso <[email protected]> | 2019-10-09 10:10:44 +0200 |
---|---|---|
committer | Daniel Stone <[email protected]> | 2019-10-17 14:33:59 +0200 |
commit | 82f18b713aceecf5ebf73d68e0cdd61be8aa2c59 (patch) | |
tree | 62f9e93aae12abb86ae0f20d290feda1003968fb /src/loader | |
parent | 730f06a44d3a64980177b4b61a196831fdbbd51e (diff) |
panfrost: Keep track of active BOs
If two jobs use the same GEM object at the same time, the job that
finishes first will (previous to this commit) close the GEM object, even
if there's a job still referencing it.
To prevent this, have all jobs use the same panfrost_bo for a given GEM
object, so it's only closed once the last job is done with it.
Signed-off-by: Tomeu Vizoso <[email protected]>
Signed-off-by: Boris Brezillon <[email protected]>
Reviewed-by: Daniel Stone <[email protected]>
Reviewed-by: Rohan Garg <[email protected]>
Reviewed-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/loader')
0 files changed, 0 insertions, 0 deletions