summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorYintian Tao <yttao@amd.com>2020-02-28 14:24:42 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-03-25 08:25:49 +0100
commite53a333014a3ddce64578ca7e5ef5dea195decd6 (patch)
tree03e6d3f76a1d40f3f35db29ca4b23bd4c6bfb4c1 /scripts
parentb557b2f00682ac04df75514c9e9d3ea43e3af675 (diff)
drm/amdgpu: clean wptr on wb when gpu recovery
[ Upstream commit 2ab7e274b86739f4ceed5d94b6879f2d07b2802f ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions