We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41855a8 commit f4892c3Copy full SHA for f4892c3
drivers/gpu/drm/amd/amdgpu/amdgpu_job.c
@@ -37,7 +37,8 @@ static void amdgpu_job_timedout(struct drm_sched_job *s_job)
37
38
memset(&ti, 0, sizeof(struct amdgpu_task_info));
39
40
- if (amdgpu_ring_soft_recovery(ring, job->vmid, s_job->s_fence->parent)) {
+ if (amdgpu_gpu_recovery &&
41
+ amdgpu_ring_soft_recovery(ring, job->vmid, s_job->s_fence->parent)) {
42
DRM_ERROR("ring %s timeout, but soft recovered\n",
43
s_job->sched->name);
44
return;
0 commit comments