drm/amdgpu: querry umc error count
authorHawking Zhang <Hawking.Zhang@amd.com>
Wed, 17 Jul 2019 13:49:53 +0000 (21:49 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 31 Jul 2019 19:49:28 +0000 (14:49 -0500)
commit939e2258ce4c2e9f5bc3a4f42ca7290a015306c2
treef4b9d0c1dbf5f78f1cf0d344af7de0ac9f5a391a
parent5b6b35aaacca95616873db25ad521c6bb5ad39f6
drm/amdgpu: querry umc error count

check umc error count in both ras querry function and
ras interrupt handler

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