drm/amdgpu: replace reset_error_count with amdgpu_ras_reset_error_count
authorTao Zhou <tao.zhou1@amd.com>
Wed, 18 Oct 2023 09:57:25 +0000 (17:57 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 20 Oct 2023 19:11:28 +0000 (15:11 -0400)
commit21226f02d77b6a1efcf987df8d97b2a4f40087bd
treeda65b3b096d10f0ebb9fdf62802b86d8678f6f27
parent9d7a965e22e5c0abd1aa6aaa389a81de58ca5182
drm/amdgpu: replace reset_error_count with amdgpu_ras_reset_error_count

Simplify the code.

Signed-off-by: Tao Zhou <tao.zhou1@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_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c