drm/amdgpu: add RAS page retirement functions for MCA
authorTao Zhou <tao.zhou1@amd.com>
Mon, 17 Oct 2022 10:22:13 +0000 (18:22 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Oct 2022 19:12:08 +0000 (15:12 -0400)
commitcbe4d43ea5e903ae3e8555cc39047b0ed027738a
tree79539b51990700e9c8c6c60baf27c12150b5d97f
parent2513574853f388008b81a900d56c2f75e7f35be2
drm/amdgpu: add RAS page retirement functions for MCA

Define page retirement functions for MCA platform.

v2: remove page retirement handling from MCA poison handler,
    let MCA notifier do page retirement.

v3: remove specific poison handler for MCA to simplify code.

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