diff options
| author | Yintian Tao <[email protected]> | 2020-02-28 14:24:42 +0800 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2020-03-05 00:25:57 -0500 |
| commit | 1d21a84661b404ffdae94ebe7b8a8729ef478335 (patch) | |
| tree | 7c5863f8a64fa5a470e70d77bc6633a813a3415b /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | eb696d041fa5e1bc3be90881e1432a9bb169b771 (diff) | |
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 <[email protected]>
Acked-by: Christian König <[email protected]>
Reviewed-by: Monk Liu <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions