aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
diff options
context:
space:
mode:
authorMonk Liu <[email protected]>2017-12-25 03:59:27 +0000
committerAlex Deucher <[email protected]>2018-03-01 16:52:41 +0000
commitc41d1cf62d3615294c1dee291b05ee3220a4de6c (patch)
tree093f0edfda55ac39e070ee685900fc5bd1226eac /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
parentdrm/amdgpu: stop all rings before doing gpu recover (diff)
downloadkernel-c41d1cf62d3615294c1dee291b05ee3220a4de6c.tar.gz
kernel-c41d1cf62d3615294c1dee291b05ee3220a4de6c.zip
drm/amdgpu: cleanups for vram lost handling
1)create a routine "handle_vram_lost" to do the vram recovery, and put it into amdgpu_device_reset/reset_sriov, this way no need of the extra paramter to hold the VRAM LOST information and the related macros can be removed. 3)show vram_recover failure if time out, and set TMO equal to lockup_timeout if vram_recover is under SRIOV runtime mode. 4)report error if any ip reset failed for SR-IOV Signed-off-by: Monk Liu <[email protected]> Acked-by: Christian König <[email protected]> Acked-by: Andrey Grodzovsky <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions