drm/amdgpu: handle ras resume
authorxinhui pan <xinhui.pan@amd.com>
Thu, 7 Mar 2019 02:46:54 +0000 (10:46 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:36:51 +0000 (15:36 -0500)
commitacbbee015b017e8a07cff1b0f58b41c953fd9a56
treee775f4500fa9815edb47256d8cc8955d838b1c8b
parent9b54d2017687df9fa827faf9e4022973b87fc0ff
drm/amdgpu: handle ras resume

Suspend will put irq, so resume need get irq back.
And in the same time, skip other ras initialization.

Signed-off-by: xinhui pan <xinhui.pan@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c