Make the code architecture more simple.
v2: reuse ras_reset_error_count in ras_reset_error_status.
Signed-off-by: Tao Zhou
---
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 19 +++
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h | 2 ++
2 files changed, 17 insertions(+), 4 deletions(-)
di
Make the code architecture more simple.
Signed-off-by: Tao Zhou
---
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 8 ++--
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c| 17 +
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h| 2 ++
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c | 4 ++-