diff options
author | Jason Ekstrand <[email protected]> | 2019-12-02 14:51:30 -0600 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2019-12-05 10:59:10 -0600 |
commit | b47bc0202a846d039ddd613add6ecfde30e6ab7e (patch) | |
tree | f113de91353d0aaede94e8daee8c6f7afb26c0ba /src/intel/vulkan/anv_private.h | |
parent | 1037b52cf4c3613ab91e11f11245169aff5024c9 (diff) |
anv: Set up VMA heaps independently from memory heaps
Our VMA allocations are really independent from the memory heaps we
expose via the API. The only thing that really matters is the GTT size
so we can make the high heap the right size.
Reviewed-by: Ivan Briano <[email protected]>
Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_private.h')
-rw-r--r-- | src/intel/vulkan/anv_private.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h index e80fc2eed96..55a8f911396 100644 --- a/src/intel/vulkan/anv_private.h +++ b/src/intel/vulkan/anv_private.h @@ -947,8 +947,6 @@ struct anv_memory_heap { VkMemoryHeapFlags flags; /* Driver-internal book-keeping */ - uint64_t vma_start; - uint64_t vma_size; bool supports_48bit_addresses; VkDeviceSize used; }; @@ -990,6 +988,7 @@ struct anv_physical_device { bool has_context_priority; bool has_context_isolation; bool has_mem_available; + uint64_t gtt_size; bool use_softpin; bool always_use_bindless; |