OSDN Git Service

drm/amdgpu: sdma handle ras resume
authorxinhui pan <xinhui.pan@amd.com>
Thu, 9 May 2019 01:00:14 +0000 (09:00 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 24 May 2019 17:20:51 +0000 (12:20 -0500)
commit777ac3ba3d85e87c0739ccedad0effd1e6e0ac41
tree590403ebe86f57778f3582fc90fb8998f337741d
parent2c2fc0cd0bd162dde2a30eafb851ff11b1ecd655
drm/amdgpu: sdma handle ras resume

During S3/S4 bootloader will re-init ras state behind us.
Resume might fail or raise a gpu reset.

Signed-off-by: xinhui pan <xinhui.pan@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: James Zhu <James.Zhu@amd.com>
Tested-by: James Zhu <James.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c