mirror of
https://github.com/torvalds/linux.git
synced 2026-03-14 00:56:20 +01:00
drm/amdgpu: Notify pmfw bad page threshold exceeded
Notify pmfw when bad page threshold is exceeded, no matter the module parameter 'bad_page_threshold' is set or not. Signed-off-by: Xiang Liu <xiang.liu@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
b1d83546cf
commit
c8d6e90abe
1 changed files with 3 additions and 2 deletions
|
|
@ -777,9 +777,10 @@ amdgpu_ras_eeprom_update_header(struct amdgpu_ras_eeprom_control *control)
|
|||
control->tbl_rai.health_percent = 0;
|
||||
}
|
||||
ras->is_rma = true;
|
||||
/* ignore the -ENOTSUPP return value */
|
||||
amdgpu_dpm_send_rma_reason(adev);
|
||||
}
|
||||
|
||||
/* ignore the -ENOTSUPP return value */
|
||||
amdgpu_dpm_send_rma_reason(adev);
|
||||
}
|
||||
|
||||
if (control->tbl_hdr.version >= RAS_TABLE_VER_V2_1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue