drm/amdgpu: implement get_retire_flip_bits for UMC v12
authorTao Zhou <tao.zhou1@amd.com>
Fri, 11 Apr 2025 08:13:23 +0000 (16:13 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 13 May 2025 13:32:05 +0000 (09:32 -0400)
commit9b5b71895bb23193597c7734cf337ec557d32e7c
treef3566eeb9e02578f88e209e45942276e512df3f5
parent699bff37a56c814c414f5b7ca9e49ef8aae660b9
drm/amdgpu: implement get_retire_flip_bits for UMC v12

The RAS bad page retire flip bits can be set per vram type,
vram vendor and NPS mode.

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