Commit dfe5c2b7 authored by Yong Zhao's avatar Yong Zhao Committed by Alex Deucher

drm/amdgpu: Correct bytes limit for SDMA 3.0 copy and fill

Signed-off-by: default avatarYong Zhao <yong.zhao@amd.com>
Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent a8ffeac9
...@@ -1730,11 +1730,11 @@ static void sdma_v3_0_emit_fill_buffer(struct amdgpu_ib *ib, ...@@ -1730,11 +1730,11 @@ static void sdma_v3_0_emit_fill_buffer(struct amdgpu_ib *ib,
} }
static const struct amdgpu_buffer_funcs sdma_v3_0_buffer_funcs = { static const struct amdgpu_buffer_funcs sdma_v3_0_buffer_funcs = {
.copy_max_bytes = 0x1fffff, .copy_max_bytes = 0x3fffe0, /* not 0x3fffff due to HW limitation */
.copy_num_dw = 7, .copy_num_dw = 7,
.emit_copy_buffer = sdma_v3_0_emit_copy_buffer, .emit_copy_buffer = sdma_v3_0_emit_copy_buffer,
.fill_max_bytes = 0x1fffff, .fill_max_bytes = 0x3fffe0, /* not 0x3fffff due to HW limitation */
.fill_num_dw = 5, .fill_num_dw = 5,
.emit_fill_buffer = sdma_v3_0_emit_fill_buffer, .emit_fill_buffer = sdma_v3_0_emit_fill_buffer,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment