Commit b576ff90 authored by Andrey Grodzovsky's avatar Andrey Grodzovsky Committed by Alex Deucher
parent 9f1f1a2d
...@@ -286,7 +286,7 @@ static void drm_sched_job_timedout(struct work_struct *work) ...@@ -286,7 +286,7 @@ static void drm_sched_job_timedout(struct work_struct *work)
job = list_first_entry_or_null(&sched->ring_mirror_list, job = list_first_entry_or_null(&sched->ring_mirror_list,
struct drm_sched_job, node); struct drm_sched_job, node);
if (job) if (job) {
job->sched->ops->timedout_job(job); job->sched->ops->timedout_job(job);
/* /*
...@@ -297,6 +297,7 @@ static void drm_sched_job_timedout(struct work_struct *work) ...@@ -297,6 +297,7 @@ static void drm_sched_job_timedout(struct work_struct *work)
job->sched->ops->free_job(job); job->sched->ops->free_job(job);
sched->free_guilty = false; sched->free_guilty = false;
} }
}
spin_lock_irqsave(&sched->job_list_lock, flags); spin_lock_irqsave(&sched->job_list_lock, flags);
drm_sched_start_timeout(sched); drm_sched_start_timeout(sched);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment