diff options
author | Tao Zhou <tao.zhou1@amd.com> | 2023-02-17 11:16:10 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-02-23 17:35:59 -0500 |
commit | e69c785723ed88a930d332e13bc9140dce48f359 (patch) | |
tree | 538ba85c6b8f9f66ecca30dcd24a82cca2156027 /drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h | |
parent | 6761c4bfee681c306bbe6599951e74826660be47 (diff) | |
download | linux-e69c785723ed88a930d332e13bc9140dce48f359.tar.gz linux-e69c785723ed88a930d332e13bc9140dce48f359.tar.bz2 linux-e69c785723ed88a930d332e13bc9140dce48f359.zip |
drm/amdgpu: add umc retire unit element
It records how many bad pages are retired in one uncorrectable error.
Signed-off-by: Tao Zhou <tao.zhou1@amd.com>
Reviewed-by: Stanley.Yang <Stanley.Yang@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.h | 2 |
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 a6951160f13a..f2bf979af588 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_umc.h @@ -74,6 +74,8 @@ struct amdgpu_umc { /* UMC regiser per channel offset */ uint32_t channel_offs; + /* how many pages are retired in one UE */ + uint32_t retire_unit; /* channel index table of interleaved memory */ const uint32_t *channel_idx_tbl; struct ras_common_if *ras_if; |