From: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
To: Andrew Davis <afd@ti.com>, David Airlie <airlied@linux.ie>,
Daniel Vetter <daniel@ffwll.ch>, Jyri Sarha <jyri.sarha@iki.fi>,
dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] drm/tidss: Set max DMA segment size
Date: Fri, 16 Dec 2022 10:17:08 +0200 [thread overview]
Message-ID: <a00527f5-8e76-958d-8d12-c2b815a200d7@ideasonboard.com> (raw)
In-Reply-To: <20220823001634.11461-1-afd@ti.com>
On 23/08/2022 03:16, Andrew Davis wrote:
> We have no segment size limitations. Set to unlimited.
>
> Signed-off-by: Andrew Davis <afd@ti.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
prev parent reply other threads:[~2022-12-16 8:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-23 0:16 Andrew Davis
2022-11-09 17:40 ` Andrew Davis
2022-12-16 8:17 ` Tomi Valkeinen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a00527f5-8e76-958d-8d12-c2b815a200d7@ideasonboard.com \
--to=tomi.valkeinen@ideasonboard.com \
--cc=afd@ti.com \
--cc=airlied@linux.ie \
--cc=daniel@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=jyri.sarha@iki.fi \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®