Re: [PATCH] media: videobuf2-dma-sg: limit the sg segment size

From: Christoph Hellwig
Date: Wed Aug 30 2023 - 15:30:06 EST


On Wed, Aug 30, 2023 at 12:47:57PM +0900, Tomasz Figa wrote:
> Do we see anything replacing it widely anywhere on the short-middle
> term horizon? I think we could possibly migrate vb2 to use that new
> thing internally and just provide some compatibility X to scatterlist
> conversion function for the drivers.

Jason said at LSF/MM that he had a prototype for a mapping API that
takes a phys/len array as input and dma_addr/len a output, which really
is the right thing to do, especially for dmabuf.

Jason, what's the status of your work?