# \[PATCH v3 0/2\] \[media\] videobuf2-dc: Add support for cacheable MMAP

- From: Thierry Escande \<hidden\>
- Date: 2016-10-26 08:52:26 
- List: linux-media
- Page: https://ratatoskr.run/linux-media/2016/10/4861663
- Thread: https://ratatoskr.run/linux-media/2016/10/4861663/t.md

```text
Hi,

This series adds support for cacheable MMAP in DMA coherent allocator.

The first patch moves the vb2_dc_get_base_sgt() function above mmap
callbacks for calls introduced by the second patch. This avoids a
forward declaration.

Changes in v2:
- Put function move in a separate patch
- Added comments

Changes in v3:
- Remove redundant test on NO_KERNEL_MAPPING DMA attribute in mmap()

Heng-Ruey Hsu (1):
  [media] videobuf2-dc: Support cacheable MMAP

Thierry Escande (1):
  [media] videobuf2-dc: Move vb2_dc_get_base_sgt() above mmap callbacks

 drivers/media/v4l2-core/videobuf2-dma-contig.c | 60 ++++++++++++++++----------
 1 file changed, 38 insertions(+), 22 deletions(-)

-- 
2.7.4

```
