On (20/02/27 12:55), Hans Verkuil wrote: > On 2/26/20 12:15 PM, Sergey Senozhatsky wrote: > > Extend vb2_buffer and vb2_queue structs with cache management > > members. > > > > V4L2 UAPI already contains two buffer flags which user-space, > > supposedly, can use to control buffer cache sync: > > > > - V4L2_BUF_FLAG_NO_CACHE_INVALIDATE > > - V4L2_BUF_FLAG_NO_CACHE_CLEAN > > > > None of these, however, do anything at the moment. This patch > > set is intended to change it. > > > > Since user-space cache management hints are supposed to be > > implemented on a per-buffer basis we need to extend vb2_buffer > > struct with two new memebers ->need_cache_sync_on_prepare and > > memebers -> members > meme bears :) -ss