[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAAFQd5BQ+FsuKipxE-yh3P-NbPdc_U=FHp7PBkWY-xunxthKuA@mail.gmail.com>
Date: Wed, 13 Sep 2023 18:44:15 +0900
From: Tomasz Figa <tfiga@...omium.org>
To: Hui Fang <hui.fang@....com>
Cc: Anle Pan <anle.pan@....com>,
"m.szyprowski@...sung.com" <m.szyprowski@...sung.com>,
"mchehab@...nel.org" <mchehab@...nel.org>,
"linux-media@...r.kernel.org" <linux-media@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Jindong Yue <jindong.yue@....com>,
Xuegang Liu <xuegang.liu@....com>, Xu Yang <xu.yang_2@....com>
Subject: Re: [EXT] Re: [PATCH] media: videobuf2-dma-sg: limit the sg segment size
On Wed, Sep 13, 2023 at 6:14 PM Hui Fang <hui.fang@....com> wrote:
>
> On Tue, Sep 12, 2023 at 16:52 PM Tomasz Figa <tfiga@...omium.org> wrote:
> > Right. You may want to try modifying vb2_dma_sg_alloc_compacted() to use
> > dma_alloc_pages() instead of alloc_pages().
>
> Thanks for your suggestion, it works. And it's a better resolution since no need
> an extra copy from high buffer to low buffer.
Great to hear! Could you submit a patch? Would appreciate adding
Suggested-by: Tomasz Figa <tfiga@...omium.org>
above the Signed-off-by line if you don't mind. Thanks.
Best regards,
Tomasz
Powered by blists - more mailing lists