Message ID | 20240524092400.2019587-1-s.pueschel@pengutronix.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | drm/rockchip: Set DMA max segment size | expand |
diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_drv.c b/drivers/gpu/drm/rockchip/rockchip_drm_drv.c index ab55d7132550..0f93efd1a8fa 100644 --- a/drivers/gpu/drm/rockchip/rockchip_drm_drv.c +++ b/drivers/gpu/drm/rockchip/rockchip_drm_drv.c @@ -67,6 +67,8 @@ int rockchip_drm_dma_attach_device(struct drm_device *drm_dev, } } + dma_set_max_seg_size(drm_dev->dev, UINT_MAX); + ret = iommu_attach_device(private->domain, dev); if (ret) { DRM_DEV_ERROR(dev, "Failed to attach iommu device\n");