radv: align the TMA BO size to 256

The hardware requires 256 byte-aligned address.

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:42:32 +02:00
parent 2dbb87282f
commit d243d21ffc
1 changed files with 1 additions and 1 deletions

View File

@ -692,7 +692,7 @@ radv_trap_handler_init(struct radv_device *device)
return false;
}
device->tma_bo = ws->buffer_create(ws, TMA_BO_SIZE, 8,
device->tma_bo = ws->buffer_create(ws, TMA_BO_SIZE, 256,
RADEON_DOMAIN_VRAM,
RADEON_FLAG_CPU_ACCESS |
RADEON_FLAG_NO_INTERPROCESS_SHARING |