Re: [PATCHv4 01/11] videobuf2: add cache management members
From: Sergey Senozhatsky
Date: Mon Mar 09 2020 - 00:03:43 EST
On (20/03/07 12:47), Hans Verkuil wrote:
>
> 1) attempting to use V4L2_FLAG_MEMORY_NON_CONSISTENT will clear the flag
> upon return (test with both reqbufs and create_bufs).
> 2) attempting to use V4L2_BUF_FLAG_NO_CACHE_INVALIDATE or V4L2_BUF_FLAG_NO_CACHE_CLEAN
>
[..]
>
> All these tests can be done in testReqBufs().
MEMORY_NON_CONSISTENT is a queue property, we set it during queue setup.
NO_CACHE_INVALIDATE/FLAG_NO_CACHE_CLEAN is a buffer property, we set it
when we qbuf. I'm not sure if all of these can be done in testReqBufts().
-ss