[PATCHv2 2/2] v4l: vsp1: Provide a writeback video device

2016-11-15 Thread Geert Uytterhoeven
On Fri, Nov 4, 2016 at 6:53 PM, Kieran Bingham wrote: > --- a/drivers/media/platform/vsp1/vsp1_video.c > +++ b/drivers/media/platform/vsp1/vsp1_video.c > +static void vsp1_video_wb_process_buffer(struct vsp1_video *video) > +{ > + if (buf) { > + video->rwpf->mem = buf->mem; >

[PATCHv2 2/2] v4l: vsp1: Provide a writeback video device

2016-11-04 Thread Kieran Bingham
When the VSP1 is used in an active display pipeline, the output of the WPF can supply the LIF entity directly and simultaneously write to memory. Support this functionality in the VSP1 driver, by extending the WPF source pads, and establishing a V4L2 video device node connected to the new source.