summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/pm/swsmu/smu13
diff options
context:
space:
mode:
authorYiPeng Chai <YiPeng.Chai@amd.com>2023-12-13 16:14:40 +0800
committerAlex Deucher <alexander.deucher@amd.com>2023-12-19 14:59:03 -0500
commita8c77a121ce12d5ce5500f5777e00e5a841ad51a (patch)
treee911edfffbe6ad495c068b000bb30e225aa88b81 /drivers/gpu/drm/amd/pm/swsmu/smu13
parent9f91e983ee82d3b6f6d713e1c84ebb8d53180b3d (diff)
downloadlinux-stable-a8c77a121ce12d5ce5500f5777e00e5a841ad51a.tar.gz
linux-stable-a8c77a121ce12d5ce5500f5777e00e5a841ad51a.tar.bz2
linux-stable-a8c77a121ce12d5ce5500f5777e00e5a841ad51a.zip
drm/amdgpu: Add poison mode check error condition for umc v12_0
Add poison mode check error condition for umc v12_0. Signed-off-by: YiPeng Chai <YiPeng.Chai@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/pm/swsmu/smu13')
-rw-r--r--drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c b/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c
index 3998c9b31d07..6cbd335a804b 100644
--- a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c
+++ b/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c
@@ -2524,9 +2524,9 @@ static int mca_umc_mca_get_err_count(const struct mca_ras_info *mca_ras, struct
return 0;
}
- if (type == AMDGPU_MCA_ERROR_TYPE_UE && umc_v12_0_is_uncorrectable_error(status0))
+ if (type == AMDGPU_MCA_ERROR_TYPE_UE && umc_v12_0_is_uncorrectable_error(adev, status0))
*count = 1;
- else if (type == AMDGPU_MCA_ERROR_TYPE_CE && umc_v12_0_is_correctable_error(status0))
+ else if (type == AMDGPU_MCA_ERROR_TYPE_CE && umc_v12_0_is_correctable_error(adev, status0))
*count = 1;
return 0;