[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <a00527f5-8e76-958d-8d12-c2b815a200d7@ideasonboard.com>
Date: Fri, 16 Dec 2022 10:17:08 +0200
From: Tomi Valkeinen <tomi.valkeinen@...asonboard.com>
To: Andrew Davis <afd@...com>, David Airlie <airlied@...ux.ie>,
Daniel Vetter <daniel@...ll.ch>,
Jyri Sarha <jyri.sarha@....fi>,
dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] drm/tidss: Set max DMA segment size
On 23/08/2022 03:16, Andrew Davis wrote:
> We have no segment size limitations. Set to unlimited.
>
> Signed-off-by: Andrew Davis <afd@...com>
> ---
> drivers/gpu/drm/tidss/tidss_dispc.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/tidss/tidss_dispc.c b/drivers/gpu/drm/tidss/tidss_dispc.c
> index dd3c6a606ae2..624545e4636c 100644
> --- a/drivers/gpu/drm/tidss/tidss_dispc.c
> +++ b/drivers/gpu/drm/tidss/tidss_dispc.c
> @@ -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
Powered by blists - more mailing lists