diff options
author | Christian König <christian.koenig@amd.com> | 2021-02-02 14:40:01 +0300 |
---|---|---|
committer | Christian König <christian.koenig@amd.com> | 2021-02-05 12:47:11 +0300 |
commit | f2f12eb9c32bc7a714276d8862efac2e7c41bcbe (patch) | |
tree | 255ef8e8adf963deb610ee7140fafa94d151fa52 /drivers/gpu/drm/panfrost | |
parent | f4a84e165e6d58606097dd07b5b78767a94b870c (diff) | |
download | linux-f2f12eb9c32bc7a714276d8862efac2e7c41bcbe.tar.xz |
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/panfrost')
-rw-r--r-- | drivers/gpu/drm/panfrost/panfrost_job.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/panfrost/panfrost_job.c b/drivers/gpu/drm/panfrost/panfrost_job.c index 0a83eefa49c4..6003cfeb1322 100644 --- a/drivers/gpu/drm/panfrost/panfrost_job.c +++ b/drivers/gpu/drm/panfrost/panfrost_job.c @@ -627,7 +627,7 @@ int panfrost_job_init(struct panfrost_device *pfdev) ret = drm_sched_init(&js->queue[j].sched, &panfrost_sched_ops, 1, 0, msecs_to_jiffies(JOB_TIMEOUT_MS), - "pan_js"); + NULL, "pan_js"); if (ret) { dev_err(pfdev->dev, "Failed to create scheduler: %d.", ret); goto err_sched; |