radv: allocate the TMA BO into 32-bit addr space
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 25 Aug 2020 09:45:10 +0000 (11:45 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 25 Aug 2020 11:15:35 +0000 (13:15 +0200)
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6453>

src/amd/vulkan/radv_debug.c

index 97b3ac614cec6542e13dc33eb62b70ff85e07ce9..0c9ed2752fb23c3bf27ea86b4c98ba0e4b985bba 100644 (file)
@@ -696,7 +696,8 @@ radv_trap_handler_init(struct radv_device *device)
                                           RADEON_DOMAIN_VRAM,
                                           RADEON_FLAG_CPU_ACCESS |
                                           RADEON_FLAG_NO_INTERPROCESS_SHARING |
-                                          RADEON_FLAG_ZERO_VRAM,
+                                          RADEON_FLAG_ZERO_VRAM |
+                                          RADEON_FLAG_32BIT,
                                           RADV_BO_PRIORITY_SCRATCH);
        if (!device->tma_bo)
                return false;