On my iMX6DL with Linux 3.14.28 I have a camera connected using MIPI. The video streams needs to be processed by the CPU, but the buffers are non-cacheable (Using V4L2_MEMORY_MMAP).
Is there a solution for this issue?
Some ideas -
1. Can I replace the dma_alloc_coherent() uses to allocate buffer with another call to make them cacheable?
2. Is there an example of how to get V4L2_MEMORY_USERPTR working properly? (I couldn't...)
Maybe a unit-test used to verify the Driver implementation?
Any help would be appreciated.