drm/amdgpu: Notify pmfw bad page threshold exceeded
Subsystems (2)
PATCH 1/1 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 <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c +3 -2
@@ -775,9 +775,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 )
Signature · 1 line
2.34.1
[AMD Official Use Only - AMD Internal Distribution Only]
Reviewed-by Hawking Zhang <[email protected]>
Regards,
Hawking
-----Original Message-----
From: Liu, Xiang(Dean) <[email protected]>
Sent: Wednesday, August 27, 2025 09:47
To: [email protected]
Cc: Zhang, Hawking <[email protected]>; Liu, Xiang(Dean) <[email protected]>
Subject: [PATCH] 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 <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c +3 -2
@@ -775,9 +775,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 )
--
2.34.1