summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShixiong Ou <oushixiong@kylinos.cn>2025-05-22 15:07:13 +0800
committerThomas Zimmermann <tzimmermann@suse.de>2025-06-03 09:21:02 +0200
commitca43d3a2cfd697be508aa8e2c5c530844630de4f (patch)
treeb6daad0e870bf628f43a527f9b230290897ac88c
parent660cd44659a05c5fbfce6d2bb1ce448aa0f35594 (diff)
drm/ast: use DRM_GEM_SHMEM_DRIVER_OPS_NO_MAP_SGT
Import dmabuf without mapping its sg_table to avoid issues likes: ast 0000:07:00.0: swiotlb buffer is full (sz: 3145728 bytes), total 32768 (slots), used 0 (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-2-oushixiong1025@163.com
-rw-r--r--drivers/gpu/drm/ast/ast_drv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/ast/ast_drv.c b/drivers/gpu/drm/ast/ast_drv.c
index 6fbf62a99c48..054acda41909 100644
--- a/drivers/gpu/drm/ast/ast_drv.c
+++ b/drivers/gpu/drm/ast/ast_drv.c
@@ -64,7 +64,7 @@ static const struct drm_driver ast_driver = {
.minor = DRIVER_MINOR,
.patchlevel = DRIVER_PATCHLEVEL,
- DRM_GEM_SHMEM_DRIVER_OPS,
+ DRM_GEM_SHMEM_DRIVER_OPS_NO_MAP_SGT,
DRM_FBDEV_SHMEM_DRIVER_OPS,
};