anv/allocator: Add getter for anv_block_pool.
authorRafael Antognolli <rafael.antognolli@intel.com>
Wed, 21 Nov 2018 19:24:59 +0000 (11:24 -0800)
committerRafael Antognolli <rafael.antognolli@intel.com>
Thu, 17 Jan 2019 23:07:43 +0000 (15:07 -0800)
commite8b6e0a5ba888d2b5d188cf06d962b6d8bc35332
tree5ef31b4bb1813bbb4891a4013607a444bbef8a7a
parent6a2d5ae305ad34bd26d033b7b564d21004147666
anv/allocator: Add getter for anv_block_pool.

We will need the anv_block_pool_map to find the map relative to some BO
that is not at the start of the block pool.

v2: just return a pointer instead of a struct (Jason)
v4: Update comment (Jason)

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