drm/amdgpu: only harvest gcea/mmea error status in aldebaran
authorHawking Zhang <Hawking.Zhang@amd.com>
Fri, 16 Apr 2021 09:30:12 +0000 (17:30 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 21 Apr 2021 01:35:55 +0000 (21:35 -0400)
commit1f8d3ad2a01957ddb7c8198ee293e0feaa03ea18
tree1927d316936836ea1a35e40474e4c8a6b374874f
parent53ee6609b42e09f89bf2cdd15a340c236694ecd3
drm/amdgpu: only harvest gcea/mmea error status in aldebaran

In aldebaran, driver only needs to harvest SDP
RdRspStatus, WrRspStatus and first parity error
on RdRsp data. Check error type before harvest
error information.

Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Stanley Yang <Stanley.Yang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_2.c
drivers/gpu/drm/amd/amdgpu/mmhub_v1_7.c