]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/amdgpu: refine usage of amdgpu_bad_page_threshold
authorganglxie <ganglxie@amd.com>
Thu, 12 Jun 2025 08:13:08 +0000 (16:13 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 18 Jun 2025 16:19:21 +0000 (12:19 -0400)
commite2d1e96c536d48b88bfaac4d6b1512be42c2b9f6
tree5b04718a46ee9b10c23e5da1371ed9bfe59ce7b3
parent375bf564654e85a7b1b0657b191645b3edca1bda
drm/amdgpu: refine usage of amdgpu_bad_page_threshold

when amdgpu_bad_page_threshold == -1 or -2, driver will issue a warning
message when threshold is reached and continue runtime services.

Signed-off-by: ganglxie <ganglxie@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ras_eeprom.c