]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/amdgpu/sdma7.1: adjust SDMA limits
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 19 Feb 2026 15:48:39 +0000 (10:48 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 23 Feb 2026 19:39:32 +0000 (14:39 -0500)
SDMA 7.1 has increased transfer limits.

Cc: Vitaly Prosyak <vitaly.prosyak@amd.com>
Reviewed-by: Vitaly Prosyak <vitaly.prosyak@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/sdma_v7_1.c

index 3de76afe3e454697671c647e56c1cf96afec79cf..03bf1f86098f109c68712d8d674bf8db6b19ea64 100644 (file)
@@ -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,
 };