drm/amdgpu: refine RAS poison consumption handler
authorTao Zhou <tao.zhou1@amd.com>
Mon, 9 May 2022 09:52:15 +0000 (17:52 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 10 May 2022 21:53:12 +0000 (17:53 -0400)
commitb63ac5d3033976301f296d048c54d584dfb3ac30
treec4b9cf450a1ad5768d7e1246583e93e7240fa596
parent367806068283725d91ffcf49149db1cda5c1fd23
drm/amdgpu: refine RAS poison consumption handler

Qeury ras status before ras poison consumption handling, add more
comment and log.

Signed-off-by: Tao Zhou <tao.zhou1@amd.com>
Reviewed-and-tested-by: Mohammad Zafar Ziya <Mohammadzafar.ziya@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c