summaryrefslogtreecommitdiff
path: root/mm/rmap.c
diff options
context:
space:
mode:
authorDanilo Krummrich <dakr@redhat.com>2023-11-30 01:08:00 +0300
committerDanilo Krummrich <dakr@redhat.com>2023-12-05 04:43:04 +0300
commite759f2ca29d918d3db57a61cdf838025beb03465 (patch)
treec4ae28e19d81a6fe6fd0b3a23b87142fae10403d /mm/rmap.c
parentdce94061f0d02f5ab355390a6e63d3dbea938b72 (diff)
downloadlinux-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/rmap.c')
0 files changed, 0 insertions, 0 deletions