On (20/02/19 09:35), Hans Verkuil wrote: > On 2/4/20 3:56 AM, Sergey Senozhatsky wrote: > > Provide begin_cpu_access() and end_cpu_access() dma_buf_ops > > callbacks for cache synchronisation on exported buffers. > > > > V4L2_FLAG_MEMORY_NON_CONSISTENT has no effect on dma-sg buffers. > > dma-sg allocates memory using the page allocator directly, so > > there is no memory consistency guarantee. > > This should also be a comment in the code. OK. -ss