summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h
diff options
context:
space:
mode:
authorCe Sun <cesun102@amd.com>2025-05-06 15:17:33 +0300
committerAlex Deucher <alexander.deucher@amd.com>2025-05-13 16:35:12 +0300
commit533aa8bdbedb23ff0f1e5022b94b990bb677ed0e (patch)
tree21d8875f94ae094798587e42a430d59ccb69472d /drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h
parent085c997d4409458d2604742bb2fb221141c9ff6a (diff)
downloadlinux-533aa8bdbedb23ff0f1e5022b94b990bb677ed0e.tar.xz
drm/amdgpu: Modify the count method of defer error
The number of newly added de counts and the number of newly added error addresses remain consistent Signed-off-by: Ce Sun <cesun102@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/amdgpu/amdgpu_umc.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h
index 78a8b8654573..29ce6b1d214a 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h
@@ -145,6 +145,8 @@ struct amdgpu_umc {
unsigned long active_mask;
struct amdgpu_umc_flip_bits flip_bits;
+
+ unsigned long err_addr_cnt;
};
int amdgpu_umc_ras_sw_init(struct amdgpu_device *adev);