diff options
author | Danilo Krummrich <dakr@redhat.com> | 2023-11-30 01:08:00 +0300 |
---|---|---|
committer | Danilo Krummrich <dakr@redhat.com> | 2023-12-05 04:43:04 +0300 |
commit | e759f2ca29d918d3db57a61cdf838025beb03465 (patch) | |
tree | c4ae28e19d81a6fe6fd0b3a23b87142fae10403d /mm/filemap.c | |
parent | dce94061f0d02f5ab355390a6e63d3dbea938b72 (diff) | |
download | linux-e759f2ca29d918d3db57a61cdf838025beb03465.tar.xz |
drm/gpuvm: fall back to drm_exec_lock_obj()
Fall back to drm_exec_lock_obj() if num_fences is zero for the
drm_gpuvm_prepare_* function family.
Otherwise dma_resv_reserve_fences() would actually allocate slots even
though num_fences is zero.
Cc: Christian König <christian.koenig@amd.com>
Acked-by: Donald Robson <donald.robson@imgtec.com>
Signed-off-by: Danilo Krummrich <dakr@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231129220835.297885-2-dakr@redhat.com
Diffstat (limited to 'mm/filemap.c')
0 files changed, 0 insertions, 0 deletions