]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: add helper funcs to detect PCS error
authorHawking Zhang <Hawking.Zhang@amd.com>
Fri, 21 Feb 2020 13:43:44 +0000 (21:43 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 6 Mar 2020 19:31:28 +0000 (14:31 -0500)
commit3d9737212e8344eef8279cee5f457848c6df170e
treed1b049dbf9e6186c0d2c25d81f735f4cc1ffab1d
parentf68f5e7851d323e272ab3cad140799c898d894d1
drm/amdgpu: add helper funcs to detect PCS error

Since from vega20, hardware supports run-time detect
and report XGMI/WAFL PCS ras error. Add helper functions
to walkthrough every type of ras error and report it if
any.

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