linux_dsm_epyc7002/drivers/gpu/drm/amd
Yintian Tao 2ab7e274b8 drm/amdgpu: clean wptr on wb when gpu recovery
The TDR will be randomly failed due to compute ring
test failure. If the compute ring wptr & 0x7ff(ring_buf_mask)
is 0x100 then after map mqd the compute ring rptr will be
synced with 0x100. And the ring test packet size is also 0x100.
Then after invocation of amdgpu_ring_commit, the cp will not
really handle the packet on the ring buffer because rptr is equal to wptr.

Signed-off-by: Yintian Tao <yttao@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Monk Liu <Monk.Liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2020-03-05 00:50:07 -05:00
..
acp drm/amdgpu: fix license on Kconfig and Makefiles 2019-12-11 15:22:08 -05:00
amdgpu drm/amdgpu: clean wptr on wb when gpu recovery 2020-03-05 00:50:07 -05:00
amdkfd drm/amdkfd: Fix a bug in SDMA RLC queue counting under HWS mode 2020-02-04 10:32:41 -05:00
display drm/amdgpu/display: clean up hdcp workqueue handling 2020-02-19 11:03:24 -05:00
include amdgpu/gmc_v9: save/restore sdpif regs during S3 2020-02-25 11:30:42 -05:00
powerplay drm/amdgpu: fix memory leak during TDR test(v2) 2020-02-25 11:30:01 -05:00