diff options
author | Christian König <christian.koenig@amd.com> | 2022-09-29 15:01:57 +0200 |
---|---|---|
committer | Christian König <christian.koenig@amd.com> | 2022-11-03 12:45:20 +0100 |
commit | a82f30b04c6aaefe62cbbfd297e1bb23435b6b3a (patch) | |
tree | 761cdcec1d8cb62bd1236c49c5caabc3b435dcf8 /drivers/gpu/drm/scheduler | |
parent | drm/scheduler: rework entity flush, kill and fini (diff) | |
download | linux-a82f30b04c6aaefe62cbbfd297e1bb23435b6b3a.tar.xz linux-a82f30b04c6aaefe62cbbfd297e1bb23435b6b3a.zip |
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
Diffstat (limited to 'drivers/gpu/drm/scheduler')
-rw-r--r-- | drivers/gpu/drm/scheduler/sched_entity.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/scheduler/sched_entity.c b/drivers/gpu/drm/scheduler/sched_entity.c index 26ed81acb41e..52bf9056807a 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; } |