drm/amdgpu: Disable ras features on all IPs before gpu reset
authorxinhui pan <xinhui.pan@amd.com>
Thu, 4 Jul 2019 02:54:58 +0000 (10:54 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 5 Jul 2019 20:59:20 +0000 (15:59 -0500)
commitf1c1314be4297183937fc2eab994be688425e328
treea8caa9fe0e6562a288dfb2a73f1bff94df270ca7
parent767acabdac81ded97e8f6930bc2dabff8db1638c
drm/amdgpu: Disable ras features on all IPs before gpu reset

Perform a ras_suspend to disable ras on all IPs to workaround
some ROCm stability issue.

Signed-off-by: xinhui pan <xinhui.pan@amd.com>
Acked-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c