drm/amdgpu: update algorithm of umc uncorrectable error counting
authorTao Zhou <tao.zhou1@amd.com>
Tue, 23 Jul 2019 04:25:16 +0000 (12:25 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 31 Jul 2019 19:49:58 +0000 (14:49 -0500)
commitf1ed4afa130291be918e4b65a3759108d8fc868b
tree03a2f8be58288200d5e8a73a07545efa94806343
parent045c02165397c6c2c01ca5b8f68a9b642f4d244f
drm/amdgpu: update algorithm of umc uncorrectable error counting

remove the check of ErrorCodeExt

v2: refine the if condition for ue counting

Signed-off-by: Tao Zhou <tao.zhou1@amd.com>
Reviewed-by: Dennis Li <dennis.li@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/umc_v6_1.c