Re: [PATCH 5/8] videobuf2: add V4L2_FLAG_MEMORY_NON_COHERENT flag

2021-03-22 Thread Hans Verkuil
On 02/03/2021 01:46, Sergey Senozhatsky wrote: > By setting or clearing V4L2_FLAG_MEMORY_NON_COHERENT flag > user-space should be able to hint vb2 that either a non-coherent > (if supported) or coherent memory should be used for the buffer > allocation. > > The patch set also adds a corresponding

[PATCH 5/8] videobuf2: add V4L2_FLAG_MEMORY_NON_COHERENT flag

2021-03-01 Thread Sergey Senozhatsky
By setting or clearing V4L2_FLAG_MEMORY_NON_COHERENT flag user-space should be able to hint vb2 that either a non-coherent (if supported) or coherent memory should be used for the buffer allocation. The patch set also adds a corresponding capability flag: fill_buf_caps() reports