diff options
author | Fredrik Höglund <[email protected]> | 2016-10-27 02:49:59 +0200 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2016-10-28 12:27:49 +1000 |
commit | 044ef54d65e5f64126755503eefa411b1bdb8816 (patch) | |
tree | 17f229cfd1412c1ef162dbd0eaa425ac7294c65c /src/amd/vulkan/radv_radeon_winsys.h | |
parent | c9675b4e17e10abef9886b0aacb84e196655e510 (diff) |
radv: split the device local memory heap into two
Advertise two device local memory heaps; one that is host visible
and one that is not.
This makes it possible for clients to tell how much host visible
vs. non-host visible memory is available.
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_radeon_winsys.h')
-rw-r--r-- | src/amd/vulkan/radv_radeon_winsys.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_radeon_winsys.h b/src/amd/vulkan/radv_radeon_winsys.h index 6370f3de7a0..76363a35526 100644 --- a/src/amd/vulkan/radv_radeon_winsys.h +++ b/src/amd/vulkan/radv_radeon_winsys.h @@ -85,6 +85,7 @@ struct radeon_info { uint32_t gart_page_size; uint64_t gart_size; uint64_t vram_size; + uint64_t visible_vram_size; bool has_dedicated_vram; bool has_virtual_memory; bool gfx_ib_pad_with_type2; |