[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201201144916.GA14682@lst.de>
Date: Tue, 1 Dec 2020 15:49:16 +0100
From: Christoph Hellwig <hch@....de>
To: Sergey Senozhatsky <sergey.senozhatsky.work@...il.com>
Cc: Christoph Hellwig <hch@....de>,
Ricardo Ribalda <ribalda@...omium.org>,
Marek Szyprowski <m.szyprowski@...sung.com>,
Robin Murphy <robin.murphy@....com>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
IOMMU DRIVERS <iommu@...ts.linux-foundation.org>,
Joerg Roedel <joro@...tes.org>,
Linux Doc Mailing List <linux-doc@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Linux Media Mailing List <linux-media@...r.kernel.org>,
Tomasz Figa <tfiga@...omium.org>,
Sergey Senozhatsky <senozhatsky@...gle.com>
Subject: Re: [PATCH v3 5/6] media: uvcvideo: Use dma_alloc_noncontiguos API
On Tue, Dec 01, 2020 at 12:36:58PM +0900, Sergey Senozhatsky wrote:
> Not that I have any sound experience in this area, but the helper
> probably won't hurt. Do you also plan to add vmap() to that helper
> or dma_alloc_noncontiguous()/sg_alloc_table_from_pages() only?
Yes, I think adding the vmap is useful, and it probably makes sense
to do that unconditionally. I'd also include the fallback to
dma_alloc_pages when the noncontig version isn't supported in the
helper.
Powered by blists - more mailing lists