[PATCH v2 2/2] [media] videobuf2-dc: Support cacheable MMAP

2016-10-24 Thread Thierry Escande
From: Heng-Ruey Hsu DMA allocations for MMAP type are uncached by default. But for some cases, CPU has to access the buffers. ie: memcpy for format converter. Supporting cacheable MMAP improves huge performance. This patch enables cacheable memory for DMA coherent

[PATCH v2 2/2] [media] videobuf2-dc: Support cacheable MMAP

2016-10-24 Thread Thierry Escande
From: Heng-Ruey Hsu DMA allocations for MMAP type are uncached by default. But for some cases, CPU has to access the buffers. ie: memcpy for format converter. Supporting cacheable MMAP improves huge performance. This patch enables cacheable memory for DMA coherent allocator in mmap buffer