]> Git Repo - linux.git/blobdiff - drivers/gpu/drm/lima/lima_sched.c
Merge tag 'for-5.13/libata-2021-04-27' of git://git.kernel.dk/linux-block
[linux.git] / drivers / gpu / drm / lima / lima_sched.c
index 5cc20b403a252b94a295ab19c8dfdb60eb58ea21..ecf3267334ffb67f5ff2859109856c19360b8487 100644 (file)
@@ -415,7 +415,7 @@ out:
        mutex_unlock(&dev->error_task_list_lock);
 }
 
-static void lima_sched_timedout_job(struct drm_sched_job *job)
+static enum drm_gpu_sched_stat lima_sched_timedout_job(struct drm_sched_job *job)
 {
        struct lima_sched_pipe *pipe = to_lima_pipe(job->sched);
        struct lima_sched_task *task = to_lima_task(job);
@@ -449,6 +449,8 @@ static void lima_sched_timedout_job(struct drm_sched_job *job)
 
        drm_sched_resubmit_jobs(&pipe->base);
        drm_sched_start(&pipe->base, true);
+
+       return DRM_GPU_SCHED_STAT_NOMINAL;
 }
 
 static void lima_sched_free_job(struct drm_sched_job *job)
@@ -507,7 +509,7 @@ int lima_sched_pipe_init(struct lima_sched_pipe *pipe, const char *name)
 
        return drm_sched_init(&pipe->base, &lima_sched_ops, 1,
                              lima_job_hang_limit, msecs_to_jiffies(timeout),
-                             name);
+                             NULL, name);
 }
 
 void lima_sched_pipe_fini(struct lima_sched_pipe *pipe)
This page took 0.033452 seconds and 4 git commands to generate.