]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit28865247f9f99498959733aeca6b2b178c5f0818
tree65b7bfb4bc1152ba0aacdf0e7971cde1cea2e138
parentf9766138d1e393af1592ed67c4a9cdd457abf5d0
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