radv: use a more relaxed alignment for upload buffer allocations
256 bytes was higher than necessary. Signed-off-by: Rhys Perry <pendingchaos02@gmail.com> Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8833>
This commit is contained in:
@@ -1744,7 +1744,7 @@ static void si_cp_dma_realign_engine(struct radv_cmd_buffer *cmd_buffer, unsigne
|
||||
|
||||
assert(size < SI_CPDMA_ALIGNMENT);
|
||||
|
||||
radv_cmd_buffer_upload_alloc(cmd_buffer, buf_size, SI_CPDMA_ALIGNMENT, &offset, &ptr);
|
||||
radv_cmd_buffer_upload_alloc(cmd_buffer, buf_size, &offset, &ptr);
|
||||
|
||||
va = radv_buffer_get_va(cmd_buffer->upload.upload_bo);
|
||||
va += offset;
|
||||
|
Reference in New Issue
Block a user