diff options
| author | Hawking Zhang <[email protected]> | 2020-03-02 05:27:59 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2020-03-05 05:32:47 +0000 |
| commit | 279375c3311aa8408869ee795bb95ac630b1feca (patch) | |
| tree | 80fa0a0bb80cc9582672cc1cf4e779bff615eb6a /drivers/gpu/drm/amd/amdgpu/gfx_v9_4.c | |
| parent | drm/amdgpu: add reset_ras_error_count function for MMHUB (diff) | |
| download | kernel-279375c3311aa8408869ee795bb95ac630b1feca.tar.gz kernel-279375c3311aa8408869ee795bb95ac630b1feca.zip | |
drm/amdgpu: add reset_ras_error_count function for GFX
GFX ras error counters are dirty ones after cold reboot
Read operation is needed to reset them to 0
Signed-off-by: Hawking Zhang <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Reviewed-by: Tao Zhou <[email protected]>
Reviewed-by: Guchun Chen <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gfx_v9_4.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/gfx_v9_4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_4.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_4.c index f099f13d7f1e..17f1e7b69a60 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_4.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_4.c @@ -893,7 +893,7 @@ int gfx_v9_4_query_ras_error_count(struct amdgpu_device *adev, return 0; } -void gfx_v9_4_clear_ras_edc_counter(struct amdgpu_device *adev) +void gfx_v9_4_reset_ras_error_count(struct amdgpu_device *adev) { int i, j, k; |
