anv: setup BO flags at state_pool/block_pool creation
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fri, 17 Nov 2017 17:26:59 +0000 (17:26 +0000)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Wed, 22 Nov 2017 22:53:27 +0000 (22:53 +0000)
commit118a8c7587d919b3b85cec7855a16d9e778394e6
treebb667f604089aaf9287767ba23a6056e0271eff3
parent799d35087001aa754304d9409d3d52750430e40b
anv: setup BO flags at state_pool/block_pool creation

This will allow to set the flags on any anv_bo created/filled from a
state pool or block pool later.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/vulkan/anv_allocator.c
src/intel/vulkan/anv_device.c
src/intel/vulkan/anv_private.h
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