anv: Choose BO flags internally in anv_block_pool
authorJason Ekstrand <jason@jlekstrand.net>
Fri, 25 Oct 2019 23:18:52 +0000 (18:18 -0500)
committerJason Ekstrand <jason@jlekstrand.net>
Thu, 31 Oct 2019 13:46:09 +0000 (13:46 +0000)
commit5c664dff7593959d43f89d3fadcc148303134675
tree2123c486104fd50881cc8c9a4b418eb7f1dc1009
parenta44f5ee0d8b16ad61a5c6f87bcfb2b89444c02f2
anv: Choose BO flags internally in anv_block_pool

All block pools are allocated with the same flags.  There's no good
reason why it needs to be configurable.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/vulkan/anv_allocator.c
src/intel/vulkan/anv_device.c
src/intel/vulkan/anv_private.h
src/intel/vulkan/tests/block_pool_grow_first.c
src/intel/vulkan/tests/block_pool_no_free.c
src/intel/vulkan/tests/state_pool.c
src/intel/vulkan/tests/state_pool_free_list_only.c
src/intel/vulkan/tests/state_pool_no_free.c
src/intel/vulkan/tests/state_pool_padding.c