Re: [RFC v4 13/18] vb2: Don't sync cache for a buffer if so requested

2017-05-23 Thread Sakari Ailus
Hi Tomasz, On Wed, May 10, 2017 at 07:00:10PM +0800, Tomasz Figa wrote: > Hi Sakari, > > Few comments inline. > > On Mon, May 8, 2017 at 11:03 PM, Sakari Ailus > wrote: > > From: Samu Onkalo > > > > The user may request to the driver (vb2) to skip the cache maintenance > > operations in case t

Re: [RFC v4 13/18] vb2: Don't sync cache for a buffer if so requested

2017-05-10 Thread Tomasz Figa
Hi Sakari, Few comments inline. On Mon, May 8, 2017 at 11:03 PM, Sakari Ailus wrote: > From: Samu Onkalo > > The user may request to the driver (vb2) to skip the cache maintenance > operations in case the buffer does not need cache synchronisation, e.g. in > cases where the buffer is passed bet

[RFC v4 13/18] vb2: Don't sync cache for a buffer if so requested

2017-05-08 Thread Sakari Ailus
From: Samu Onkalo The user may request to the driver (vb2) to skip the cache maintenance operations in case the buffer does not need cache synchronisation, e.g. in cases where the buffer is passed between hardware blocks without it being touched by the CPU. Also document that the prepare and fin