drm/amdgpu: add RAS poison handling for MCA
authorTao Zhou <tao.zhou1@amd.com>
Mon, 17 Oct 2022 10:31:20 +0000 (18:31 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Oct 2022 19:12:08 +0000 (15:12 -0400)
commitae45a18b80d9d0d29f0ecfc52fb4e7831671b299
tree5e4b92907103f8773af3f400ef26cb073608f5b1
parent24b822928b5139b85ee9a818a65e343b7e3bb4fe
drm/amdgpu: add RAS poison handling for MCA

For MCA poison, if unmap queue fails, only gpu reset should be
triggered without page retirement handling, MCA notifier will do it.

v2: handle MCA poison consumption in umc_poison_handler directly.

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