[PATCH] drm/amdgpu: Warn when bad pages approaches threshold

2021-10-14 Thread Kent Russell
Currently dmesg doesn't warn when the number of bad pages approaches the threshold for page retirement. WARN when the number of bad pages is at 90% or greater for easier checks and planning, instead of waiting until the GPU is full of bad pages Signed-off-by: Kent Russell --- drivers/gpu/drm/amd

[PATCH] drm/amdgpu: Warn when bad pages approaches threshold

2021-10-12 Thread Kent Russell
Currently dmesg doesn't warn when the number of bad pages approaches the threshold for page retirement. WARN when the number of bad pages is at 90% or greater for easier checks and planning, instead of waiting until the GPU is full of bad pages Signed-off-by: Kent Russell --- drivers/gpu/drm/amd