summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.h
diff options
context:
space:
mode:
authorTao Zhou <tao.zhou1@amd.com>2024-05-23 11:23:20 +0800
committerAlex Deucher <alexander.deucher@amd.com>2024-06-05 11:25:14 -0400
commitb95fa494d6b74c30eeb4a50481aa1041c631754e (patch)
treeb5f6a3167531f119d94551f4fe6f328702fc8be8 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.h
parent15c2990e0f0108b9c3752d7072a97d45d4283aea (diff)
downloadlinux-b95fa494d6b74c30eeb4a50481aa1041c631754e.tar.gz
linux-b95fa494d6b74c30eeb4a50481aa1041c631754e.tar.bz2
linux-b95fa494d6b74c30eeb4a50481aa1041c631754e.zip
drm/amdgpu: add RAS is_rma flag
Set the flag to true if bad page number reaches threshold. Signed-off-by: Tao Zhou <tao.zhou1@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.h
index 6dfd667f3013..b9ebda577797 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.h
@@ -129,8 +129,7 @@ struct eeprom_table_record {
unsigned char mcumc_id;
} __packed;
-int amdgpu_ras_eeprom_init(struct amdgpu_ras_eeprom_control *control,
- bool *exceed_err_limit);
+int amdgpu_ras_eeprom_init(struct amdgpu_ras_eeprom_control *control);
int amdgpu_ras_eeprom_reset_table(struct amdgpu_ras_eeprom_control *control);