From: Samuel Pitoiset Date: Tue, 25 Aug 2020 09:42:32 +0000 (+0200) Subject: radv: align the TMA BO size to 256 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d243d21ffc9596140800812e26feeb5d35d13d29;p=mesa.git radv: align the TMA BO size to 256 The hardware requires 256 byte-aligned address. Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen Part-of: --- diff --git a/src/amd/vulkan/radv_debug.c b/src/amd/vulkan/radv_debug.c index ce68c2ddb02..97b3ac614ce 100644 --- a/src/amd/vulkan/radv_debug.c +++ b/src/amd/vulkan/radv_debug.c @@ -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 |