diff options
author | Rafael Antognolli <[email protected]> | 2018-11-08 11:35:59 -0800 |
---|---|---|
committer | Rafael Antognolli <[email protected]> | 2019-01-17 15:08:24 -0800 |
commit | 731c4adcf9b11d07e36e915ac17936259648c0c9 (patch) | |
tree | 9e63ae283fc19e920ab1efe65a849ed11c0025c9 /src/intel/vulkan/tests | |
parent | 643248b66a265242ef3de3dffdae79e1283eee31 (diff) |
anv/allocator: Add support for non-userptr.
If softpin is supported, create new BOs for the required size and add the
respective BO maps. The other main change of this commit is that
anv_block_pool_map() now returns the map for the BO that the given
offset is part of. So there's no block_pool->map access anymore (when
softpin is used.
v3:
- set fd to -1 on softpin case (Jason)
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel/vulkan/tests')
0 files changed, 0 insertions, 0 deletions