drm/amdgpu: RAS harvest on driver load
authorJohn Clements <john.clements@amd.com>
Thu, 25 Mar 2021 09:10:10 +0000 (17:10 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Apr 2021 20:54:51 +0000 (16:54 -0400)
commit134d16d50f0948f00e7172b509e869b6eaecf437
tree036563baedfcf183200a94b37eb2f3bbbfac4363
parent340c571bebbefe03da1c1139b62a55f4ec6fcdce
drm/amdgpu: RAS harvest on driver load

In event of RAS UE + warm reset, error counters shall be harvested and cleared on driver load

Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: John Clements <john.clements@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c