Skip to content
Snippets Groups Projects
Commit 731c4adc authored by Rafael Antognolli's avatar Rafael Antognolli
Browse files

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: default avatarJason Ekstrand <jason@jlekstrand.net>
parent 643248b6
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment