diff options
author | Danilo Krummrich <dakr@redhat.com> | 2023-11-14 01:27:25 +0100 |
---|---|---|
committer | Danilo Krummrich <dakr@redhat.com> | 2023-11-24 21:24:51 +0100 |
commit | 46990918f35c1bf6e367cf8e0423e7344fec9fcb (patch) | |
tree | 52c25ddbd2cae0cfb55422fe71c70aa4fb029c0e /drivers/gpu/drm/nouveau/nouveau_drm.c | |
parent | drm/nouveau: implement 1:1 scheduler - entity relationship (diff) | |
download | wireguard-linux-46990918f35c1bf6e367cf8e0423e7344fec9fcb.tar.xz wireguard-linux-46990918f35c1bf6e367cf8e0423e7344fec9fcb.zip |
drm/nouveau: enable dynamic job-flow control
Make use of the scheduler's credit limit and scheduler job's credit
count to account for the actual size of a job, such that we fill up the
ring efficiently.
Signed-off-by: Danilo Krummrich <dakr@redhat.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231114002728.3491-2-dakr@redhat.com
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_drm.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_drm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_drm.c b/drivers/gpu/drm/nouveau/nouveau_drm.c index 7e5f19153829..6f6c31a9937b 100644 --- a/drivers/gpu/drm/nouveau/nouveau_drm.c +++ b/drivers/gpu/drm/nouveau/nouveau_drm.c @@ -320,7 +320,7 @@ nouveau_cli_init(struct nouveau_drm *drm, const char *sname, * locks which indirectly or directly are held for allocations * elsewhere. */ - ret = nouveau_sched_init(&cli->sched, drm, NULL); + ret = nouveau_sched_init(&cli->sched, drm, NULL, 1); if (ret) goto done; |