drm/tidss: Set max DMA segment size
We have no segment size limitations. Set to unlimited. Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220823001634.11461-1-afd@ti.com
This commit is contained in:
parent
33f960e23c
commit
85528a44bc
@ -2686,6 +2686,8 @@ int dispc_init(struct tidss_device *tidss)
|
||||
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)
|
||||
return -ENOMEM;
|
||||
|
Loading…
x
Reference in New Issue
Block a user