提交 dfe5c2b7 编写于 作者: Y Yong Zhao 提交者: Alex Deucher

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

Signed-off-by: NYong Zhao <yong.zhao@amd.com>
Reviewed-by: NChristian König <christian.koenig@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册