]> git.dujemihanovic.xyz Git - linux.git/commitdiff
drm/amdgpu: correct sdma7 max dw
authorFrank Min <Frank.Min@amd.com>
Thu, 1 Aug 2024 04:20:18 +0000 (12:20 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 7 Aug 2024 22:23:49 +0000 (18:23 -0400)
correct sdma7 max dw into 8

Signed-off-by: Frank Min <Frank.Min@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 86598c3819fdc70e59d28221bfa7bc36e9f5777e)

drivers/gpu/drm/amd/amdgpu/sdma_v7_0.c

index 7e4282609f51f20352bb37eec80aff499d58a279..ecee9e7d7e4c6bd30beae52723bd1f881d287309 100644 (file)
@@ -1617,7 +1617,7 @@ static void sdma_v7_0_emit_fill_buffer(struct amdgpu_ib *ib,
 
 static const struct amdgpu_buffer_funcs sdma_v7_0_buffer_funcs = {
        .copy_max_bytes = 0x400000,
-       .copy_num_dw = 7,
+       .copy_num_dw = 8,
        .emit_copy_buffer = sdma_v7_0_emit_copy_buffer,
        .fill_max_bytes = 0x400000,
        .fill_num_dw = 5,