-
- Downloads
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>
Showing
- drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c 2 additions, 8 deletionsdrivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c 27 additions, 13 deletionsdrivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.h 5 additions, 0 deletionsdrivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.h
- drivers/gpu/drm/amd/amdgpu/amdgpu_umc.c 2 additions, 1 deletiondrivers/gpu/drm/amd/amdgpu/amdgpu_umc.c
Loading
Please register or sign in to comment