Skip to content

Commit 41c91c7

Browse files
Tao Zhougregkh
authored andcommitted
drm/amdgpu: set RAS fed status for more cases
[ Upstream commit 09a3d82 ] Indicate fatal error for each RAS block and NBIO. Signed-off-by: Tao Zhou <tao.zhou1@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 30d1b78 commit 41c91c7

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2112,6 +2112,7 @@ static void amdgpu_ras_interrupt_umc_handler(struct ras_manager *obj,
21122112
/* Let IP handle its data, maybe we need get the output
21132113
* from the callback to update the error type/count, etc
21142114
*/
2115+
amdgpu_ras_set_fed(obj->adev, true);
21152116
ret = data->cb(obj->adev, &err_data, entry);
21162117
/* ue will trigger an interrupt, and in that case
21172118
* we need do a reset to recovery the whole system.

drivers/gpu/drm/amd/amdgpu/nbio_v7_4.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -418,6 +418,7 @@ static void nbio_v7_4_handle_ras_controller_intr_no_bifring(struct amdgpu_device
418418
/* ras_controller_int is dedicated for nbif ras error,
419419
* not the global interrupt for sync flood
420420
*/
421+
amdgpu_ras_set_fed(adev, true);
421422
amdgpu_ras_reset_gpu(adev);
422423
}
423424

0 commit comments

Comments
 (0)