diff options
author | Xiaomeng Hou <Xiaomeng.Hou@amd.com> | 2020-12-10 20:18:23 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-12-15 11:31:28 -0500 |
commit | a9c210c1e5fefd621954fca50c72780bf0198327 (patch) | |
tree | 4649af7f219380084c7867c3e2a54c6839db7a3d /drivers/gpu/drm/amd/amdgpu/amdgpu.h | |
parent | 78d907e2b8ba89c936b7f0c3344261c653668a62 (diff) |
drm/amdgpu/sdma5.2: soft reset sdma blocks before setup and start sdma
Without doing the soft reset, register mmSDMA0_GFX_RB_WPTR's value could not be
reset to 0 when sdma block resumes. That would cause the ring buffer's read and
write pointers not equal and ring test fail. So add the soft reset step.
Signed-off-by: Xiaomeng Hou <Xiaomeng.Hou@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
0 files changed, 0 insertions, 0 deletions