diff options
| author | Hawking Zhang <[email protected]> | 2020-02-21 13:37:15 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2020-03-06 19:31:35 +0000 |
| commit | ec01fe2dbf8cf2b2a25c6ac73eac357988f1bf7d (patch) | |
| tree | d5e3b7fd58d78b0524f5d173c6d5c1b8edf9c11b /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | |
| parent | drm/amdgpu: add helper funcs to detect PCS error (diff) | |
| download | kernel-ec01fe2dbf8cf2b2a25c6ac73eac357988f1bf7d.tar.gz kernel-ec01fe2dbf8cf2b2a25c6ac73eac357988f1bf7d.zip | |
drm/amdgpu: enable PCS error report on VG20
Now driver will report XGMI/WAFL PCS error through
sysfs xgmi_wafl_err_count node on Vega20
Signed-off-by: Hawking Zhang <[email protected]>
Reviewed-by: Guchun Chen <[email protected]>
Reviewed-by: Tao Zhou <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c index 930633a0ed64..e1e8fd4b2b89 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c @@ -721,6 +721,9 @@ int amdgpu_ras_error_query(struct amdgpu_device *adev, if (adev->nbio.funcs->query_ras_error_count) adev->nbio.funcs->query_ras_error_count(adev, &err_data); break; + case AMDGPU_RAS_BLOCK__XGMI_WAFL: + amdgpu_xgmi_query_ras_error_count(adev, &err_data); + break; default: break; } |
