mirror of
https://github.com/torvalds/linux.git
synced 2026-05-25 23:52:08 +02:00
drm/amdgpu: send smu rma reason event in ras eeprom driver
send smu rma reason event to smu in ras eeprom driver. Signed-off-by: Yang Wang <kevinyang.wang@amd.com> Reviewed-by: Tao Zhou <tao.zhou1@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
e3bfb8d917
commit
f579c06bdc
|
|
@ -735,6 +735,9 @@ amdgpu_ras_eeprom_update_header(struct amdgpu_ras_eeprom_control *control)
|
|||
control->tbl_rai.rma_status = GPU_RETIRED__ECC_REACH_THRESHOLD;
|
||||
control->tbl_rai.health_percent = 0;
|
||||
}
|
||||
|
||||
/* ignore the -ENOTSUPP return value */
|
||||
amdgpu_dpm_send_rma_reason(adev);
|
||||
}
|
||||
|
||||
if (control->tbl_hdr.version == RAS_TABLE_VER_V2_1)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user