Re: [PATCH v3 05/14] media: platform: pxa_camera: convert to vb2

2016-08-13 Thread Robert Jarzmik
Hans Verkuil writes: > On 08/13/2016 11:25 AM, Robert Jarzmik wrote: >> Hi Hans, >> >> Robert Jarzmik writes: >>> Convert pxa_camera from videobuf to videobuf2. >> ...zip... >> >>> +static int pxac_vb2_queue_setup(struct vb2_queue *vq, >>> +

Re: [PATCH v3 05/14] media: platform: pxa_camera: convert to vb2

2016-08-13 Thread Robert Jarzmik
Hans Verkuil writes: > On 08/13/2016 11:25 AM, Robert Jarzmik wrote: >> Hi Hans, >> >> Robert Jarzmik writes: >>> Convert pxa_camera from videobuf to videobuf2. >> ...zip... >> >>> +static int pxac_vb2_queue_setup(struct vb2_queue *vq, >>> + unsigned int *nbufs, >>>

Re: [PATCH v3 05/14] media: platform: pxa_camera: convert to vb2

2016-08-13 Thread Hans Verkuil
On 08/13/2016 11:25 AM, Robert Jarzmik wrote: > Hi Hans, > > Robert Jarzmik writes: >> Convert pxa_camera from videobuf to videobuf2. > ...zip... > >> +static int pxac_vb2_queue_setup(struct vb2_queue *vq, >> +unsigned int *nbufs, >> +

Re: [PATCH v3 05/14] media: platform: pxa_camera: convert to vb2

2016-08-13 Thread Hans Verkuil
On 08/13/2016 11:25 AM, Robert Jarzmik wrote: > Hi Hans, > > Robert Jarzmik writes: >> Convert pxa_camera from videobuf to videobuf2. > ...zip... > >> +static int pxac_vb2_queue_setup(struct vb2_queue *vq, >> +unsigned int *nbufs, >> +

Re: [PATCH v3 05/14] media: platform: pxa_camera: convert to vb2

2016-08-13 Thread Robert Jarzmik
Hi Hans, Robert Jarzmik writes: > Convert pxa_camera from videobuf to videobuf2. ...zip... > +static int pxac_vb2_queue_setup(struct vb2_queue *vq, > + unsigned int *nbufs, > + unsigned int *num_planes, unsigned int

Re: [PATCH v3 05/14] media: platform: pxa_camera: convert to vb2

2016-08-13 Thread Robert Jarzmik
Hi Hans, Robert Jarzmik writes: > Convert pxa_camera from videobuf to videobuf2. ...zip... > +static int pxac_vb2_queue_setup(struct vb2_queue *vq, > + unsigned int *nbufs, > + unsigned int *num_planes, unsigned int sizes[], > +

[PATCH v3 05/14] media: platform: pxa_camera: convert to vb2

2016-08-08 Thread Robert Jarzmik
Convert pxa_camera from videobuf to videobuf2. As the soc_camera was already compatible with videobuf2, the port is quite straightforward. The special case of this code in which the vb2 to prepare is "too big" in terms of size for the new capture format, the pxa_camera will fail. Signed-off-by:

[PATCH v3 05/14] media: platform: pxa_camera: convert to vb2

2016-08-08 Thread Robert Jarzmik
Convert pxa_camera from videobuf to videobuf2. As the soc_camera was already compatible with videobuf2, the port is quite straightforward. The special case of this code in which the vb2 to prepare is "too big" in terms of size for the new capture format, the pxa_camera will fail. Signed-off-by: