radv: allocate the TMA BO into 32-bit addr space

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>
This commit is contained in:
Samuel Pitoiset 2020-08-25 11:45:10 +02:00
parent d243d21ffc
commit 0fd33207b7

View 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;