OSDN Git Service

drm/amdgpu:implement SRIOV gpu_reset (v2)
authorMonk Liu <Monk.Liu@amd.com>
Mon, 23 Jan 2017 06:22:08 +0000 (14:22 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Mar 2017 03:52:45 +0000 (23:52 -0400)
commita90ad3c2afe5bebdd5d00aaec87fec6823545c59
tree65b7bfb4bc1152ba0aacdf0e7971cde1cea2e138
parent596c67d076a5ae0f2571cab9245ee76f6a6cf922
drm/amdgpu:implement SRIOV gpu_reset (v2)

implement SRIOV gpu_reset for future use.
it wil be called from:
1) job timeout
2) privl access or instruction error interrupt
3) hypervisor detect VF hang

v2: agd: rebase on upstream

Signed-off-by: Monk Liu <Monk.Liu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h