]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/amdgpu: adjust the update of RAS bad page number
authorTao Zhou <tao.zhou1@amd.com>
Fri, 4 Jul 2025 09:12:24 +0000 (17:12 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 28 Jul 2025 20:40:06 +0000 (16:40 -0400)
commitd45c5e6845a76169ef3d6076f0f04487e5776905
treedd397f796e1db6eeb6e5470f91168345ebd3c9d8
parent2b17c240e8cd9ac61d3c82277fbed27edad7f002
drm/amdgpu: adjust the update of RAS bad page number

One eeprom record may not map to unit number of bad pages, the accurate
bad page number is gotten after bad page address check.

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>
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h
drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c