drm/amdgpu: gmc support ras gpu reset
authorxinhui pan <xinhui.pan@amd.com>
Wed, 8 May 2019 14:32:34 +0000 (22:32 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 24 May 2019 17:20:50 +0000 (12:20 -0500)
commit36810fdb69ba35d8d8d7407b79c522218e8a0dd5
tree6cab0fd557400d38294e2e224ccfc4e31cf0c8f9
parenta564808e7f5b19b3621a1dc4ff2a3042171ae167
drm/amdgpu: gmc support ras gpu reset

request a gpu reset if ras return EAGAIN.
we will run late init again so it is ok to do nothing this time.

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