summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuchun Chen <guchun.chen@amd.com>2020-10-09 18:25:11 +0800
committerGuchun Chen <guchun.chen@amd.com>2020-10-09 18:44:32 +0800
commit24d78877b7fb0dd52e6b0aabaebffc8249ed89d4 (patch)
tree9c7d7077f9dc0625e4f72388a89c5c937f38b333
parentead2dff075c1763fa4b8c73b90b1d784a6acda07 (diff)
Revert "drm/amdgpu: Fix for timeout after TDR"
This reverts commit b29cd4677d7b29381b851a24cedb6d7cd15f747b. Signed-off-by: Guchun Chen <guchun.chen@amd.com>
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_device.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
index c34b1a6751b5..d04526f2a0ff 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
@@ -4542,9 +4542,6 @@ int amdgpu_device_gpu_recover(struct amdgpu_device *adev,
goto skip_hw_reset;
}
- if(job)
- drm_sched_increase_karma(&job->base);
-
retry: /* Rest of adevs pre asic reset from XGMI hive. */
list_for_each_entry(tmp_adev, device_list_handle, gmc.xgmi.head) {
r = amdgpu_device_pre_asic_reset(tmp_adev,