commit | a82f30b04c6aaefe62cbbfd297e1bb23435b6b3a | [log] [tgz] |
---|---|---|
author | Christian König <christian.koenig@amd.com> | Thu Sep 29 15:01:57 2022 +0200 |
committer | Christian König <christian.koenig@amd.com> | Thu Nov 03 12:45:20 2022 +0100 |
tree | 761cdcec1d8cb62bd1236c49c5caabc3b435dcf8 | |
parent | 2fdb8a8f07c2f1353770a324fd19b8114e4329ac [diff] [blame] |
drm/scheduler: rename dependency callback into prepare_job This now matches much better what this is doing. Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Luben Tuikov <luben.tuikov@amd.com> Link: https://patchwork.freedesktop.org/patch/msgid/20221014084641.128280-14-christian.koenig@amd.com
diff --git a/drivers/gpu/drm/scheduler/sched_entity.c b/drivers/gpu/drm/scheduler/sched_entity.c index 26ed81a..52bf905 100644 --- a/drivers/gpu/drm/scheduler/sched_entity.c +++ b/drivers/gpu/drm/scheduler/sched_entity.c
@@ -396,8 +396,8 @@ drm_sched_job_dependency(struct drm_sched_job *job, if (!xa_empty(&job->dependencies)) return xa_erase(&job->dependencies, job->last_dependency++); - if (job->sched->ops->dependency) - return job->sched->ops->dependency(job, entity); + if (job->sched->ops->prepare_job) + return job->sched->ops->prepare_job(job, entity); return NULL; }