drm/amdgpu: log on non-zero error conter per IP before GPU reset
authorGuchun Chen <guchun.chen@amd.com>
Thu, 13 Feb 2020 07:34:06 +0000 (15:34 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 19 Feb 2020 15:36:26 +0000 (10:36 -0500)
commit313c8fd33ebc1945f1c875481a7d5b6921265e0d
tree6e793036b2e57485c27240d029415202f58b2f93
parent5fbdb1f38d16a75d35f4111b2f0cf1220ca1ecd3
drm/amdgpu: log on non-zero error conter per IP before GPU reset

Once sync flood interrupt is triggered by RAS error, before
actual GPU recovery job, it's necessary to log on and print
non-zero error counter, this will help user knows where the
RAS error source is from quickly.

Signed-off-by: Guchun Chen <guchun.chen@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c