Skip to content

Commit

Permalink
drm/amdgpu: send smu rma reason event in ras eeprom driver
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Yang Wang authored and Alex Deucher committed Feb 12, 2024
1 parent e3bfb8d commit f579c06
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f579c06

Please sign in to comment.