Commit 09a3d820 authored by Tao Zhou's avatar Tao Zhou Committed by Alex Deucher

drm/amdgpu: set RAS fed status for more cases

Indicate fatal error for each RAS block and NBIO.
Signed-off-by: default avatarTao Zhou <tao.zhou1@amd.com>
Reviewed-by: default avatarHawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 7e437167
...@@ -2131,6 +2131,7 @@ static void amdgpu_ras_interrupt_umc_handler(struct ras_manager *obj, ...@@ -2131,6 +2131,7 @@ static void amdgpu_ras_interrupt_umc_handler(struct ras_manager *obj,
/* Let IP handle its data, maybe we need get the output /* Let IP handle its data, maybe we need get the output
* from the callback to update the error type/count, etc * from the callback to update the error type/count, etc
*/ */
amdgpu_ras_set_fed(obj->adev, true);
ret = data->cb(obj->adev, &err_data, entry); ret = data->cb(obj->adev, &err_data, entry);
/* ue will trigger an interrupt, and in that case /* ue will trigger an interrupt, and in that case
* we need do a reset to recovery the whole system. * we need do a reset to recovery the whole system.
......
...@@ -414,6 +414,7 @@ static void nbio_v7_4_handle_ras_controller_intr_no_bifring(struct amdgpu_device ...@@ -414,6 +414,7 @@ static void nbio_v7_4_handle_ras_controller_intr_no_bifring(struct amdgpu_device
/* ras_controller_int is dedicated for nbif ras error, /* ras_controller_int is dedicated for nbif ras error,
* not the global interrupt for sync flood * not the global interrupt for sync flood
*/ */
amdgpu_ras_set_fed(adev, true);
amdgpu_ras_reset_gpu(adev); amdgpu_ras_reset_gpu(adev);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment