drm/tidss: Set max DMA segment size
Subsystems (3)
PATCH 1/1 drm/tidss: Set max DMA segment size
We have no segment size limitations. Set to unlimited.
Signed-off-by Andrew Davis <[email protected]>
--- drivers/gpu/drm/tidss/tidss_dispc.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/tidss/tidss_dispc.c +1 -0
@@ -2685,6 +2685,7 @@ int dispc_init(struct tidss_device *tidss)if (r)dev_warn (dev,"cannot set DMA masks to 48-bit\n" ); } +dma_set_max_seg_size (dev,UINT_MAX ); dispc =devm_kzalloc (dev,sizeof (*dispc),GFP_KERNEL );if (!dispc)
Signature · 1 line
2.36.1
Quoted 4 lines · Andrew Davis
We have no segment size limitations. Set to unlimited.
Signed-off-by Andrew Davis <[email protected]>---
Ping, still valid.
Andrew
Quoted 15 lines
drivers/gpu/drm/tidss/tidss_dispc.c | 1 + 1 file changed, 1 insertion(+)drivers/gpu/drm/tidss/tidss_dispc.c +1
-0@@ -2685,6 +2685,7 @@ int dispc_init(struct tidss_device *tidss)if (r)dev_warn (dev,"cannot set DMA masks to 48-bit\n" ); } +dma_set_max_seg_size (dev,UINT_MAX ); dispc =devm_kzalloc (dev,sizeof (*dispc),GFP_KERNEL );if (!dispc)
Tomi Valkeinen
maintainerQuoted 12 lines · Andrew Davis
We have no segment size limitations. Set to unlimited.
Signed-off-by Andrew Davis <[email protected]>--- drivers/gpu/drm/tidss/tidss_dispc.c | 1 + 1 file changed, 1 insertion(+)drivers/gpu/drm/tidss/tidss_dispc.c +0
-0
drivers/gpu/drm/tidss/tidss_dispc.c int dispc_init(struct tidss_device *tidss) · line 2691
Quoted 7 lines
drivers/gpu/drm/tidss/tidss_dispc.c +1
-0@@ -2685,6 +2685,7 @@ int dispc_init(struct tidss_device *tidss)if (r)dev_warn (dev,"cannot set DMA masks to 48-bit\n" ); } +dma_set_max_seg_size (dev,UINT_MAX ); dispc =devm_kzalloc (dev,sizeof (*dispc),GFP_KERNEL );if (!dispc)
Thanks, I'll apply to drm-misc.
Tomi