radv: allocate descriptor BOs in the 32-bit addr space
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 16 May 2018 15:32:57 +0000 (17:32 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 22 May 2018 13:53:18 +0000 (15:53 +0200)
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_descriptor_set.c

index 9d783b8b6d813573e7a6d328a8c5bb314c75c0ca..27dd5b08e20ca45982e37f8a82eb9fc6f3d9a6b7 100644 (file)
@@ -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;