linux/drivers/gpu/drm/amd
Defang Bo e4180c4253 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>
2021-01-05 15:05:16 -05:00
..
acp
amdgpu drm/amdgpu: Add check to prevent IH overflow 2021-01-05 15:05:16 -05:00
amdkfd drm/amdkfd: check both client id and src id in interrupt handlers 2020-12-23 15:07:40 -05:00
display drm/amdgpu/display: drop DCN support for aarch64 2021-01-05 11:35:53 -05:00
include drm/amd/pm: support overdrive vddgfx offset setting(V2) 2020-12-23 15:07:03 -05:00
pm drm/amd/pm: improve the fine grain tuning function for RV/RV2/PCO 2021-01-05 11:33:48 -05:00