On 02/12/2018 11:24 PM, Alexey Skidanov wrote:
Hello,

Correct me if I'm wrong, but there is no user space interface, similar
to the dma_buf_start_cpu_access()/dma_buf_end_cpu_access() to handle IO
coherency. That is, on the platforms, where the SW is responsible for IO
coherency handling, the following sequences:
- write to the buffer
- DMA read
or
- DMA write
- read from the buffer
may be problematic.

Thanks,
Alexey


Have you looked at the dma_buf sync ioctl? (see include/uapi/linux/dma-buf.h)

Thanks,
Laura
_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to