diff options
| author | Stanley.Yang <[email protected]> | 2022-03-03 09:56:33 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2022-03-15 18:25:16 +0000 |
| commit | 69691c823531c36c7283ecaa040e99e9c12ece07 (patch) | |
| tree | 4666666c49d8350de6c869bdd9fa759611e962e4 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.h | |
| parent | drm/amd/pm: add send bad channel info function (diff) | |
| download | kernel-69691c823531c36c7283ecaa040e99e9c12ece07.tar.gz kernel-69691c823531c36c7283ecaa040e99e9c12ece07.zip | |
drm/amdgpu: message smu to update bad channel info
It should notice SMU to update bad channel info when detected
uncorrectable error in UMC block
Signed-off-by: Stanley.Yang <[email protected]>
Reviewed-by: Tao Zhou <[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 | 4 |
1 files changed, 4 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 6bb00578bfbb..54d9bfe0881d 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.h @@ -80,6 +80,10 @@ struct amdgpu_ras_eeprom_control { /* Protect table access via this mutex. */ struct mutex ras_tbl_mutex; + + /* Record channel info which occurred bad pages + */ + u32 bad_channel_bitmap; }; /* |
