diff options
author | Defang Bo <[email protected]> | 2021-01-06 00:06:39 +0800 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2021-01-05 15:05:16 -0500 |
commit | e4180c4253f3f2da09047f5139959227f5cf1173 (patch) | |
tree | 6bab3c2cc0e2cceb8db66c7a813c4ab265dbf006 /lib/mpi/mpi-sub-ui.c | |
parent | 88d5cb2517a7190d0f51cabbdb2a1e7594bfec21 (diff) |
drm/amdgpu: Add check to prevent IH overflow
Similar to commit <b82175750131>("drm/amdgpu: fix IH overflow on Vega10 v2").
When an ring buffer overflow happens the appropriate bit is set in the WPTR
register which is also written back to memory. But clearing the bit in the
WPTR doesn't trigger another memory writeback.
So what can happen is that we end up processing the buffer overflow over and
over again because the bit is never cleared. Resulting in a random system
lockup because of an infinite loop in an interrupt handler.
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Defang Bo <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions