diff options
author | Yintian Tao <yttao@amd.com> | 2020-02-28 09:24:42 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-03-05 08:50:07 +0300 |
commit | 2ab7e274b86739f4ceed5d94b6879f2d07b2802f (patch) | |
tree | 3f2a23f6f9c8c60c7b0f24318c01eca3a50c9923 /mm/mmu_notifier.c | |
parent | 70b8ea1ab1d3ff3ad5c7491bf8995c912506da6c (diff) | |
download | linux-2ab7e274b86739f4ceed5d94b6879f2d07b2802f.tar.xz |
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>
Diffstat (limited to 'mm/mmu_notifier.c')
0 files changed, 0 insertions, 0 deletions