diff options
author | Defang Bo <bodefang@126.com> | 2021-01-05 19:06:39 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-01-05 23:05:16 +0300 |
commit | e4180c4253f3f2da09047f5139959227f5cf1173 (patch) | |
tree | 6bab3c2cc0e2cceb8db66c7a813c4ab265dbf006 /scripts/clang-tools/gen_compile_commands.py | |
parent | 88d5cb2517a7190d0f51cabbdb2a1e7594bfec21 (diff) | |
download | linux-e4180c4253f3f2da09047f5139959227f5cf1173.tar.xz |
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 <christian.koenig@amd.com>
Signed-off-by: Defang Bo <bodefang@126.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions