diff options
author | Andrew Davis <afd@ti.com> | 2022-08-23 02:16:34 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> | 2022-12-16 18:24:39 +0100 |
commit | 85528a44bca8c43ff1a7d273613ba7a35ad34712 (patch) | |
tree | 70855e770281726e373ea0688a4d8dc584676b17 /drivers/gpu/drm/tidss | |
parent | drm/display/dp_mst: Fix payload addition on a disconnected sink (diff) | |
download | linux-85528a44bca8c43ff1a7d273613ba7a35ad34712.tar.xz linux-85528a44bca8c43ff1a7d273613ba7a35ad34712.zip |
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
Diffstat (limited to 'drivers/gpu/drm/tidss')
-rw-r--r-- | drivers/gpu/drm/tidss/tidss_dispc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/tidss/tidss_dispc.c b/drivers/gpu/drm/tidss/tidss_dispc.c index ad93acc9abd2..7a08feb9c2f0 100644 --- a/drivers/gpu/drm/tidss/tidss_dispc.c +++ b/drivers/gpu/drm/tidss/tidss_dispc.c @@ -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; |