]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: add reset_ras_error_count function for HDP
authorHawking Zhang <Hawking.Zhang@amd.com>
Mon, 2 Mar 2020 08:16:58 +0000 (16:16 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Mar 2020 05:32:54 +0000 (00:32 -0500)
commit3932194506f9b9da46a3d1bad4c6a0f78e8d9d55
treee9d3990cd39c97188b89ada0d1c8c3656f020dbe
parent3ae1fd09d63851a94e7d88892d35333a898177ae
drm/amdgpu: add reset_ras_error_count function for HDP

HDP ras error counters are dirty ones after cold reboot
Read operation is needed to reset them to 0

Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Reviewed-by: Guchun Chen <guchun.chen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
drivers/gpu/drm/amd/amdgpu/soc15.c