diff options
author | Rob Clark <robdclark@chromium.org> | 2023-11-21 03:38:50 +0300 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2023-12-10 21:38:47 +0300 |
commit | 05d249352f1ae909230c230767ca8f4e9fdf8e7b (patch) | |
tree | e9256983156f7ae4ab3888d89d90b68f4bc3b2d4 /drivers/gpu/drm/imagination | |
parent | 3a48a40387e73e1a37428b11cb3ba56d4c108571 (diff) | |
download | linux-05d249352f1ae909230c230767ca8f4e9fdf8e7b.tar.xz |
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/imagination')
-rw-r--r-- | drivers/gpu/drm/imagination/pvr_job.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/imagination/pvr_job.c b/drivers/gpu/drm/imagination/pvr_job.c index 04139da6c04d..78c2f3c6dce0 100644 --- a/drivers/gpu/drm/imagination/pvr_job.c +++ b/drivers/gpu/drm/imagination/pvr_job.c @@ -746,7 +746,7 @@ pvr_submit_jobs(struct pvr_device *pvr_dev, struct pvr_file *pvr_file, if (err) goto out_job_data_cleanup; - drm_exec_init(&exec, DRM_EXEC_INTERRUPTIBLE_WAIT | DRM_EXEC_IGNORE_DUPLICATES); + drm_exec_init(&exec, DRM_EXEC_INTERRUPTIBLE_WAIT | DRM_EXEC_IGNORE_DUPLICATES, 0); xa_init_flags(&signal_array, XA_FLAGS_ALLOC); |