linux_dsm_epyc7002/drivers/gpu/drm/amd
Yintian Tao 1d21a84661 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:25:57 -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:25:57 -05:00
amdkfd drm/amdkfd: change SDMA MQD memory type 2020-02-28 16:59:20 -05:00
display Merge tag 'amd-drm-next-5.7-2020-02-26' of git://people.freedesktop.org/~agd5f/linux into drm-next 2020-02-28 15:40:26 +10:00
include drm/amdkfd: Make get_tile_config() generic 2020-02-28 16:59:20 -05:00
powerplay drm/amdgpu/smu: Add message sending lock 2020-02-28 16:59:23 -05:00