anv: Add an explicit_address parameter to anv_device_alloc_bo
authorJason Ekstrand <jason@jlekstrand.net>
Mon, 2 Dec 2019 21:22:38 +0000 (15:22 -0600)
committerJason Ekstrand <jason@jlekstrand.net>
Thu, 5 Dec 2019 16:59:10 +0000 (10:59 -0600)
commit03450e9cfc526158e1a1e862a9f6bb8610de2be9
treeb5667b5479c74413e4ba36cc633dba7d392f54aa
parent597fdb9e210b53680f1eb703778f9d1a196190a8
anv: Add an explicit_address parameter to anv_device_alloc_bo

We already have a mechanism for specifying that we want a fixed address
provided by the driver internals.  We're about to let the client start
specifying addresses in some very special scenarios as well so we want
to pass this through to the allocation function.

Reviewed-by: Ivan Briano <ivan.briano@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/vulkan/anv_allocator.c
src/intel/vulkan/anv_descriptor_set.c
src/intel/vulkan/anv_device.c
src/intel/vulkan/anv_private.h
src/intel/vulkan/anv_queue.c
src/intel/vulkan/genX_query.c