anv: Update usage of block_pool->bo.
authorRafael Antognolli <rafael.antognolli@intel.com>
Wed, 21 Nov 2018 19:36:49 +0000 (11:36 -0800)
committerRafael Antognolli <rafael.antognolli@intel.com>
Thu, 17 Jan 2019 23:08:02 +0000 (15:08 -0800)
commite3dc56d7311c82d6dbda7948f9ca4345d44f8bdb
treeed5e3729b7f1f0af2e5712a0a5d2c65421e916fb
parentfc3f58832015cbb177179e7f3420d3611479b4a9
anv: Update usage of block_pool->bo.

Change block_pool->bo to be a pointer, and update its usage everywhere.
This makes it simpler to switch it later to a list of BOs.

v3:
 - Use a static "bos" field in the struct, instead of malloc'ing it.
 This will be later changed to a fixed length array of BOs.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/anv_allocator.c
src/intel/vulkan/anv_batch_chain.c
src/intel/vulkan/anv_blorp.c
src/intel/vulkan/anv_private.h
src/intel/vulkan/gen8_cmd_buffer.c
src/intel/vulkan/genX_blorp_exec.c
src/intel/vulkan/genX_cmd_buffer.c