summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c
diff options
context:
space:
mode:
authorAndrey Grodzovsky2017-12-12 20:09:30 +0100
committerAlex Deucher2017-12-15 23:14:50 +0100
commitdcebf026e6f69fb79e7f88d10681faf4f8a985ba (patch)
tree3d31743b19a61d9e826092a8c5d2e97f9f95e1cf /drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c
parentdrm/ttm: use an ttm operation ctx for ttm_bo_move_xxx (diff)
downloadkernel-qcow2-linux-dcebf026e6f69fb79e7f88d10681faf4f8a985ba.tar.gz
kernel-qcow2-linux-dcebf026e6f69fb79e7f88d10681faf4f8a985ba.tar.xz
kernel-qcow2-linux-dcebf026e6f69fb79e7f88d10681faf4f8a985ba.zip
drm/amdgpu: Add gpu_recovery parameter
Add new parameter to control GPU recovery procedure. v2: Add auto logic where reset is disabled for bare metal and enabled for SR-IOV. Allow forced reset from debugfs. Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c
index 7cb71a8e21df..d3ce12149542 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c
@@ -705,7 +705,7 @@ static int amdgpu_debugfs_gpu_recover(struct seq_file *m, void *data)
struct amdgpu_device *adev = dev->dev_private;
seq_printf(m, "gpu recover\n");
- amdgpu_gpu_recover(adev, NULL);
+ amdgpu_gpu_recover(adev, NULL, true);
return 0;
}