From: Alex Deucher Date: Thu, 19 Feb 2026 15:48:39 +0000 (-0500) Subject: drm/amdgpu/sdma7.1: adjust SDMA limits X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e757981cd8c3974fa1313ac2b529294462785e59;p=thirdparty%2Fkernel%2Flinux.git drm/amdgpu/sdma7.1: adjust SDMA limits SDMA 7.1 has increased transfer limits. Cc: Vitaly Prosyak Reviewed-by: Vitaly Prosyak Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v7_1.c b/drivers/gpu/drm/amd/amdgpu/sdma_v7_1.c index 3de76afe3e454..03bf1f86098f1 100644 --- a/drivers/gpu/drm/amd/amdgpu/sdma_v7_1.c +++ b/drivers/gpu/drm/amd/amdgpu/sdma_v7_1.c @@ -1745,10 +1745,10 @@ static void sdma_v7_1_emit_fill_buffer(struct amdgpu_ib *ib, } static const struct amdgpu_buffer_funcs sdma_v7_1_buffer_funcs = { - .copy_max_bytes = 0x400000, + .copy_max_bytes = 1 << 30, .copy_num_dw = 8, .emit_copy_buffer = sdma_v7_1_emit_copy_buffer, - .fill_max_bytes = 0x400000, + .fill_max_bytes = 1 << 30, .fill_num_dw = 5, .emit_fill_buffer = sdma_v7_1_emit_fill_buffer, };