diff options
author | Christian König <christian.koenig@amd.com> | 2021-02-02 12:40:01 +0100 |
---|---|---|
committer | Christian König <christian.koenig@amd.com> | 2021-02-05 10:47:11 +0100 |
commit | f2f12eb9c32bc7a714276d8862efac2e7c41bcbe (patch) | |
tree | 255ef8e8adf963deb610ee7140fafa94d151fa52 /drivers/gpu/drm/lima | |
parent | f4a84e165e6d58606097dd07b5b78767a94b870c (diff) | |
download | linux-f2f12eb9c32bc7a714276d8862efac2e7c41bcbe.tar.bz2 |
drm/scheduler: provide scheduler score externally
Allow multiple schedulers to share the load balancing score.
This is useful when one engine has different hw rings.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-and-Tested-by: Leo Liu <leo.liu@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210204144405.2737-1-christian.koenig@amd.com
Diffstat (limited to 'drivers/gpu/drm/lima')
-rw-r--r-- | drivers/gpu/drm/lima/lima_sched.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/lima/lima_sched.c b/drivers/gpu/drm/lima/lima_sched.c index 20dafa62980f..ecf3267334ff 100644 --- a/drivers/gpu/drm/lima/lima_sched.c +++ b/drivers/gpu/drm/lima/lima_sched.c @@ -509,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) |