anv: Use anv_block_pool_foreach_bo in get_bo_from_pool
authorJason Ekstrand <jason@jlekstrand.net>
Fri, 25 Oct 2019 21:42:47 +0000 (16:42 -0500)
committerJason Ekstrand <jason@jlekstrand.net>
Thu, 31 Oct 2019 13:46:08 +0000 (13:46 +0000)
commit1be2e4c0ef25a667a2afc0ce6bad1c3c57761fa0
tree4294228205f19efcd739fa4a67b7b00c4b454d61
parent3178e583c86a8324b629981e9d90f684f5a6cbc0
anv: Use anv_block_pool_foreach_bo in get_bo_from_pool

While we're at it, use gen_48b_address().

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/vulkan/anv_device.c