Questions regarding DMA buffer sharing using IOMMU

From: Pintu Kumar
Date: Mon May 12 2014 - 05:47:58 EST


Hi, 
I have some queries regarding IOMMU and CMA buffer sharing. 
We have an embedded linux device (kernel 3.10, RAM: 256Mb) in which camera and codec supports IOMMU but the display does not support IOMMU. 
Thus for camera capture we are using iommu buffers using ION/DMABUF. But for all display rendering we are using CMA buffers. 
So, the question is how to achieve buffer sharing (zero-copy) between Camera and Display using only IOMMU? 
Currently we are achieving zero-copy using CMA. And we are exploring options to use IOMMU. 
Now we wanted to know which option is better? To use IOMMU or CMA? 
If anybody have come across these design please share your thoughts and results. 


Thank You! 
Regards, 
Pintu

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/