diff options
author | Rob Clark <robdclark@chromium.org> | 2023-11-21 01:38:50 +0100 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2023-12-10 19:38:47 +0100 |
commit | 05d249352f1ae909230c230767ca8f4e9fdf8e7b (patch) | |
tree | e9256983156f7ae4ab3888d89d90b68f4bc3b2d4 /drivers/gpu/drm/nouveau | |
parent | drm/msm/gem: Cleanup submit_cleanup_bo() (diff) | |
download | linux-05d249352f1ae909230c230767ca8f4e9fdf8e7b.tar.xz linux-05d249352f1ae909230c230767ca8f4e9fdf8e7b.zip |
drm/exec: Pass in initial # of objects
In cases where the # is known ahead of time, it is silly to do the table
resize dance.
Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Christian König <christian.koenig@amd.com>
Patchwork: https://patchwork.freedesktop.org/patch/568338/
Diffstat (limited to 'drivers/gpu/drm/nouveau')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_uvmm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_uvmm.c b/drivers/gpu/drm/nouveau/nouveau_uvmm.c index dae3baf707a0..4f223c972c6a 100644 --- a/drivers/gpu/drm/nouveau/nouveau_uvmm.c +++ b/drivers/gpu/drm/nouveau/nouveau_uvmm.c @@ -1347,7 +1347,7 @@ nouveau_uvmm_bind_job_submit(struct nouveau_job *job, } } - drm_exec_init(exec, vme->flags); + drm_exec_init(exec, vme->flags, 0); drm_exec_until_all_locked(exec) { ret = bind_lock_validate(job, exec, vme->num_fences); drm_exec_retry_on_contention(exec); |