Re: [PATCH v2] media: vb2-dc: skip CPU sync in map/unmap dma_buf

2019-07-16 Thread Marek Szyprowski
Hi Lucas, On 2019-07-08 15:07, Lucas Stach wrote: > This is rougly equivalent to ca0e68e21aae (drm/prime: skip CPU sync > in map/unmap dma_buf). The contig memory allocated is already device > coherent memory, so there is no point in doing a CPU sync when > mapping it to another deevice. Also most

[PATCH v2] media: vb2-dc: skip CPU sync in map/unmap dma_buf

2019-07-08 Thread Lucas Stach
This is rougly equivalent to ca0e68e21aae (drm/prime: skip CPU sync in map/unmap dma_buf). The contig memory allocated is already device coherent memory, so there is no point in doing a CPU sync when mapping it to another deevice. Also most importers currently cache the mapping so the CPU sync woul