summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/v3d
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2018-10-12 17:32:40 +0300
committerAlex Deucher <alexander.deucher@amd.com>2018-11-05 22:21:01 +0300
commit19067e522d99fb869ba17420d6ef235182cb420e (patch)
tree1eee387ae6f29d5ba58d075a03e769d759ec5981 /drivers/gpu/drm/v3d
parent548f2ecc33b5a377d9d5ba9d69cc06722f7930e1 (diff)
downloadlinux-19067e522d99fb869ba17420d6ef235182cb420e.tar.xz
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>
Diffstat (limited to 'drivers/gpu/drm/v3d')
-rw-r--r--drivers/gpu/drm/v3d/v3d_sched.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/v3d/v3d_sched.c b/drivers/gpu/drm/v3d/v3d_sched.c
index 9243dea6e6ad..80b641ffc3be 100644
--- a/drivers/gpu/drm/v3d/v3d_sched.c
+++ b/drivers/gpu/drm/v3d/v3d_sched.c
@@ -167,9 +167,6 @@ v3d_job_timedout(struct drm_sched_job *sched_job)
if (job->timedout_ctca != ctca || job->timedout_ctra != ctra) {
job->timedout_ctca = ctca;
job->timedout_ctra = ctra;
-
- schedule_delayed_work(&job->base.sched->work_tdr,
- job->base.sched->timeout);
return;
}