diff options
author | Xiaomeng Hou <[email protected]> | 2020-12-10 20:18:23 +0800 |
---|---|---|
committer | Alex Deucher <[email protected]> | 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 <[email protected]>
Reviewed-by: Huang Rui <[email protected]>
Acked-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
0 files changed, 0 insertions, 0 deletions