anv: Stop tracking VMA allocations
authorJason Ekstrand <jason@jlekstrand.net>
Mon, 2 Dec 2019 20:38:45 +0000 (14:38 -0600)
committerJason Ekstrand <jason@jlekstrand.net>
Thu, 5 Dec 2019 16:59:10 +0000 (10:59 -0600)
commit1037b52cf4c3613ab91e11f11245169aff5024c9
treecc463bb57eb8ff74086015248d1a16202abc5c41
parenta4e3d8f0db965b3ca3e8e939397af4a930b48185
anv: Stop tracking VMA allocations

util_vma_heap_alloc will already return 0 if it doesn't have enough
space.  The only thing the vma_*_available tracking was doing was
preventing us from allocating too much on any given heap.  Now that
we're tracking that in the heap itself, we can drop these.

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