diff options
| author | Tao Zhou <[email protected]> | 2024-04-01 07:46:16 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-04-10 02:08:47 +0000 |
| commit | 9ecef5b2d0a09eb54f8431208758bb2aa2a6b779 (patch) | |
| tree | 07cc8b4f12ef6e368eee50eb7e8c3be70f2fc9ab /drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c | |
| parent | drm/amd/pm: update XGMI RAS UE criteria for sum v13.0.6 (diff) | |
| download | kernel-9ecef5b2d0a09eb54f8431208758bb2aa2a6b779.tar.gz kernel-9ecef5b2d0a09eb54f8431208758bb2aa2a6b779.zip | |
drm/amdgpu: update check condition for XGMI ACA UE
Check more possible ext error codes.
Signed-off-by: Tao Zhou <[email protected]>
Reviewed-by: Yang Wang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c index 523827e8e7a8..dd2ec48cf5c2 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c @@ -1060,7 +1060,9 @@ static int xgmi_v6_4_0_aca_bank_parser(struct aca_handle *handle, struct aca_ban switch (type) { case ACA_SMU_TYPE_UE: - count = ext_error_code == 0 ? count : 0ULL; + if (ext_error_code != 0 && ext_error_code != 9) + count = 0ULL; + ret = aca_error_cache_log_bank_error(handle, &info, ACA_ERROR_TYPE_UE, count); break; case ACA_SMU_TYPE_CE: |
