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/etnaviv | |
parent | drm/qxl: allocate dumb buffers in ram (diff) | |
download | linux-f2f12eb9c32bc7a714276d8862efac2e7c41bcbe.tar.xz linux-f2f12eb9c32bc7a714276d8862efac2e7c41bcbe.zip |
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/etnaviv')
-rw-r--r-- | drivers/gpu/drm/etnaviv/etnaviv_sched.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/etnaviv/etnaviv_sched.c b/drivers/gpu/drm/etnaviv/etnaviv_sched.c index 2a9439cbb0fb..19826e504efc 100644 --- a/drivers/gpu/drm/etnaviv/etnaviv_sched.c +++ b/drivers/gpu/drm/etnaviv/etnaviv_sched.c @@ -190,7 +190,7 @@ int etnaviv_sched_init(struct etnaviv_gpu *gpu) ret = drm_sched_init(&gpu->sched, &etnaviv_sched_ops, etnaviv_hw_jobs_limit, etnaviv_job_hang_limit, - msecs_to_jiffies(500), dev_name(gpu->dev)); + msecs_to_jiffies(500), NULL, dev_name(gpu->dev)); if (ret) return ret; |