]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Conditionally reset RAS counters on boot
authorJohn Clements <john.clements@amd.com>
Mon, 17 May 2021 08:36:26 +0000 (16:36 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 20 May 2021 02:38:11 +0000 (22:38 -0400)
commit796cf8621a29c486729005177e428550491acc0f
tree391e95b9adbd076dccad51e949a3bca23c60ee11
parent05ac9d9936a8d7c9f7be1fcc45bf75bf4126f956
drm/amdgpu: Conditionally reset RAS counters on boot

Only clear RAS error counters if perestent EDC harvesting is not supported

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_gfx.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c