drm/amdgpu: re-set ClearMcaOnRead CE/UE in late init for uniras

Re-set the ClearMcaOnRead flags for UE and CE errors during RAS late init
to maintain correct MCA error handling behavior

Signed-off-by: Ce Sun <cesun102@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Ce Sun 2026-03-28 18:01:50 +08:00 committed by Alex Deucher
parent ef7017879d
commit 4a63d64b03

View File

@ -4370,6 +4370,9 @@ int amdgpu_ras_late_init(struct amdgpu_device *adev)
if (amdgpu_sriov_vf(adev) && !amdgpu_sriov_ras_telemetry_en(adev))
return 0;
if (amdgpu_uniras_enabled(adev))
amdgpu_ras_mgr_set_debug_mode(adev, false);
list_for_each_entry_safe(node, tmp, &adev->ras_list, node) {
obj = node->ras_obj;
if (!obj) {