]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: bypass querying ras error count registers
authorGuchun Chen <guchun.chen@amd.com>
Tue, 4 Aug 2020 07:00:53 +0000 (15:00 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Aug 2020 20:12:22 +0000 (16:12 -0400)
commitc1b68ba1d3793efa2255594f0c56bcf1a864b518
treeaef308d7dcb3e9d3ac29814a597f916f7257a9a8
parent389144fde1cb5a26757fb47b9144df25e10e536e
drm/amdgpu: bypass querying ras error count registers

Once ras recovery is issued by ras sync flood interrupt or
ras controller interrupt, add this guard to bypass or execute
ras error count register harvest of all IPs.

Signed-off-by: Guchun Chen <guchun.chen@amd.com>
Reviewed-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/amdgpu_ras.h
drivers/gpu/drm/amd/amdgpu/nbio_v7_4.c