drm/sched: make sure timer is restarted

Make sure we always restart the timer after a timeout and remove the
device specific workarounds.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Christian König
2018-10-12 16:32:40 +02:00
committed by Alex Deucher
parent 548f2ecc33
commit 19067e522d
3 changed files with 1 additions and 5 deletions

View File

@@ -283,6 +283,7 @@ static void drm_sched_job_timedout(struct work_struct *work)
already_signaled:
;
}
drm_sched_start_timeout(sched);
spin_unlock(&sched->job_list_lock);
}