commit | bbf389013ff851b3d60fee92fccf7c6cb94e4e29 | [log] [tgz] |
---|---|---|
author | Jason Ekstrand <jason@jlekstrand.net> | Fri Oct 25 12:45:41 2019 -0500 |
committer | Jason Ekstrand <jason@jlekstrand.net> | Thu Oct 31 13:46:08 2019 +0000 |
tree | 88422110776a5c7c1a3e2ea94a59748387adb461 | |
parent | 821ce7be36ee521c618d66d559425d6226f46fcf [diff] |
anv: Use a util_sparse_array for the GEM handle -> BO map This lets us do less allocation because the anv_bo's are now embedded in the sparse array and it also allows lock-free translation from GEM handle to BO which will be useful in future commits. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>