Re: [RFC RESEND 05/11] v4l2-core: Don't sync cache for a buffer if so requested

2016-12-16 Thread Sakari Ailus
Hi Laurent, On Thu, Dec 15, 2016 at 10:37:20PM +0200, Laurent Pinchart wrote: > Hi Sakari, > > Thank you for the patch. > > On Friday 11 Sep 2015 14:50:28 Sakari Ailus wrote: > > From: Samu Onkalo > > > > The user may request to the driver (vb2) to skip the cache maintenance > > operations in

Re: [RFC RESEND 05/11] v4l2-core: Don't sync cache for a buffer if so requested

2016-12-15 Thread Laurent Pinchart
Hi Sakari, Thank you for the patch. On Friday 11 Sep 2015 14:50:28 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 b

Re: [RFC RESEND 05/11] v4l2-core: Don't sync cache for a buffer if so requested

2015-09-15 Thread Hans Verkuil
On 09/15/15 10:22, Sakari Ailus wrote: > Could you rebase and re-post what's not in upstream of that set, please? Done. Available here: http://git.linuxtv.org/cgit.cgi/hverkuil/media_tree.git/log/?h=vb2-cpu-access These drivers need work to replace vb2_plane_vaddr by vb2_plane_begin/end_cpu_acce

Re: [RFC RESEND 05/11] v4l2-core: Don't sync cache for a buffer if so requested

2015-09-15 Thread Sakari Ailus
Hi Hans, Hans Verkuil wrote: > On 09/11/2015 01:50 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 between ha

Re: [RFC RESEND 05/11] v4l2-core: Don't sync cache for a buffer if so requested

2015-09-11 Thread Hans Verkuil
On 09/11/2015 01:50 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 between hardware blocks without it being > tou

[RFC RESEND 05/11] v4l2-core: Don't sync cache for a buffer if so requested

2015-09-11 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