diff options
author | Tao Zhou <tao.zhou1@amd.com> | 2024-11-29 16:52:41 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-12-10 10:26:51 -0500 |
commit | ae756cd8536923841b45340f7ee369272c9bf105 (patch) | |
tree | df6acb166a8bfce51415a0ea847ce52590a77238 /drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c | |
parent | 1f06e7f344c4ac66184ee6bb49d83b8c413306ca (diff) |
drm/amdgpu: correct the calculation of RAS bad page
After the introduction of NPS RAS, one bad page record on eeprom may be
related to 1 or 16 bad pages, so the bad page record and bad page are
two different concepts, define a new variable to store bad page number.
Signed-off-by: Tao Zhou <tao.zhou1@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_sdma.c')
0 files changed, 0 insertions, 0 deletions