drm/amdgpu: use page retirement API in MCA notifier
authorTao Zhou <tao.zhou1@amd.com>
Mon, 17 Oct 2022 10:26:17 +0000 (18:26 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Oct 2022 19:12:08 +0000 (15:12 -0400)
commit24b822928b5139b85ee9a818a65e343b7e3bb4fe
tree3cb4f4924fc3f891c9f3bd562d98e6e7e3a7eda7
parentcbe4d43ea5e903ae3e8555cc39047b0ed027738a
drm/amdgpu: use page retirement API in MCA notifier

Make the code more readable.

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_ras.c