drm/udl: use DRM_GEM_SHMEM_DRIVER_OPS_NO_MAP_SGT
authorShixiong Ou <oushixiong@kylinos.cn>
Thu, 22 May 2025 07:07:14 +0000 (15:07 +0800)
committerThomas Zimmermann <tzimmermann@suse.de>
Tue, 3 Jun 2025 07:21:02 +0000 (09:21 +0200)
commitb6cbfa872045d7ed307c55aa1cdb0d5125d84282
tree641b1cdf3e898f6234743dc8081eeaa3d1d7f447
parentca43d3a2cfd697be508aa8e2c5c530844630de4f
drm/udl: use DRM_GEM_SHMEM_DRIVER_OPS_NO_MAP_SGT

Import dmabuf without mapping its sg_table to avoid issues likes:
   udl 2-1.4:1.0: swiotlb buffer is full (sz: 2097152 bytes), total 65536 (slots), used 1 (slots)

Signed-off-by: Shixiong Ou <oushixiong@kylinos.cn>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://lore.kernel.org/r/20250522070714.439824-3-oushixiong1025@163.com
drivers/gpu/drm/udl/udl_drv.c