Re: [PATCHv3 8/8] videobuf2: handle non-contiguous DMA allocations

From: Sergey Senozhatsky
Date: Sun Jul 25 2021 - 23:59:36 EST


On (21/07/22 19:26), Dafna Hirschfeld wrote:
> Also, the 'cookie' cb returns buf->dma_addr which is not initialized for
> the noncontiguous api. So it is not clear how drivers should use the new api.
> Many drivers call vb2_dma_contig_plane_dma_addr which returns the cookie.

Hmm, that's a good find. Is ->dma_addr the same as what we have in
sgt.sgl->dma_address for non-contig?