drm/amdgpu: initialze ras caps per paltform config
authorHawking Zhang <Hawking.Zhang@amd.com>
Mon, 8 Mar 2021 08:40:07 +0000 (16:40 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Apr 2021 20:50:48 +0000 (16:50 -0400)
commit75f06251c921baf99c003662c529c25ba9937b2d
treeda3a64d5681bf1ef84fd6f4587028436c70b9caa
parent158fc08d174d0f7070d8456599fb60d6f0fdb5bd
drm/amdgpu: initialze ras caps per paltform config

Driver only manages GFX/SDMA/MMHUB RAS in platforms
that gpu node is connected to cpu through XGMI, other
than that, it queries VBIOS for RAS capabilities.

Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: John Clements <John.Clements@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c