diff options
author | Stanley.Yang <Stanley.Yang@amd.com> | 2022-03-03 17:56:33 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-03-15 14:25:16 -0400 |
commit | 69691c823531c36c7283ecaa040e99e9c12ece07 (patch) | |
tree | 4666666c49d8350de6c869bdd9fa759611e962e4 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h | |
parent | d510eccfa51e09f5e65621a2e8d41f58a8dbd3ba (diff) | |
download | linux-69691c823531c36c7283ecaa040e99e9c12ece07.tar.gz linux-69691c823531c36c7283ecaa040e99e9c12ece07.tar.bz2 linux-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 <Stanley.Yang@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h index 7cddaad90d6d..9314fde81e68 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h @@ -374,6 +374,9 @@ struct amdgpu_ras { /* record umc error info queried from smu */ struct umc_ecc_info umc_ecc; + + /* Indicates smu whether need update bad channel info */ + bool update_channel_flag; }; struct ras_fs_data { |