From: Samuel Pitoiset Date: Wed, 16 May 2018 15:32:57 +0000 (+0200) Subject: radv: allocate descriptor BOs in the 32-bit addr space X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=14a7547c0865b93b210df6a8f47cc793be6689b8;p=mesa.git radv: allocate descriptor BOs in the 32-bit addr space Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen --- diff --git a/src/amd/vulkan/radv_descriptor_set.c b/src/amd/vulkan/radv_descriptor_set.c index 9d783b8b6d8..27dd5b08e20 100644 --- a/src/amd/vulkan/radv_descriptor_set.c +++ b/src/amd/vulkan/radv_descriptor_set.c @@ -594,7 +594,8 @@ VkResult radv_CreateDescriptorPool( pool->bo = device->ws->buffer_create(device->ws, bo_size, 32, RADEON_DOMAIN_VRAM, RADEON_FLAG_NO_INTERPROCESS_SHARING | - RADEON_FLAG_READ_ONLY); + RADEON_FLAG_READ_ONLY | + RADEON_FLAG_32BIT); pool->mapped_ptr = (uint8_t*)device->ws->buffer_map(pool->bo); } pool->size = bo_size;