diff options
| author | Andrey Grodzovsky <[email protected]> | 2019-09-09 19:59:45 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2019-09-16 15:06:27 +0000 |
| commit | d01b400b1aaeb37eb28a1df22f548309ab35d482 (patch) | |
| tree | 3d0a0fe97e37ff4ea3bee09028c0ee04bb043fab /drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.h | |
| parent | drm/amdgpu: rename umc ras_init to err_cnt_init (diff) | |
| download | kernel-d01b400b1aaeb37eb28a1df22f548309ab35d482.tar.gz kernel-d01b400b1aaeb37eb28a1df22f548309ab35d482.zip | |
drm/amdgpu: Add amdgpu_ras_eeprom_reset_table
This will allow to reset the table on the fly.
Signed-off-by: Andrey Grodzovsky <[email protected]>
Reviewed-by: Tao Zhou <[email protected]>
Reviewed-by: Guchun Chen <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.h index 41f3fcb9a29b..622269957c1b 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.h @@ -79,6 +79,7 @@ struct eeprom_table_record { int amdgpu_ras_eeprom_init(struct amdgpu_ras_eeprom_control *control); void amdgpu_ras_eeprom_fini(struct amdgpu_ras_eeprom_control *control); +int amdgpu_ras_eeprom_reset_table(struct amdgpu_ras_eeprom_control *control); int amdgpu_ras_eeprom_process_recods(struct amdgpu_ras_eeprom_control *control, struct eeprom_table_record *records, |
