Re: [PATCH 00/38] i.MX5/6 Video Capture

2016-07-01 Thread Steve Longerbeam
Hi Tim, Pardon late reply, I'm on vacation. See below... On 06/28/2016 11:54 AM, Tim Harvey wrote: On Tue, Jun 14, 2016 at 3:48 PM, Steve Longerbeam wrote: Tested on imx6q SabreAuto with ADV7180, and imx6q SabreSD with mipi-csi2 OV5640. There is device-tree support

Re: [PATCH 00/38] i.MX5/6 Video Capture

2016-07-01 Thread Hans Verkuil
On 06/28/2016 10:10 PM, Hans Verkuil wrote: > On 06/28/2016 08:54 PM, Tim Harvey wrote: >> On Tue, Jun 14, 2016 at 3:48 PM, Steve Longerbeam >> wrote: >>> Tested on imx6q SabreAuto with ADV7180, and imx6q SabreSD with >>> mipi-csi2 OV5640. There is device-tree support also

Re: [PATCH 00/38] i.MX5/6 Video Capture

2016-06-28 Thread Hans Verkuil
On 06/28/2016 08:54 PM, Tim Harvey wrote: > On Tue, Jun 14, 2016 at 3:48 PM, Steve Longerbeam > wrote: >> Tested on imx6q SabreAuto with ADV7180, and imx6q SabreSD with >> mipi-csi2 OV5640. There is device-tree support also for imx6qdl >> SabreLite, but that is not tested.

Re: [PATCH 00/38] i.MX5/6 Video Capture

2016-06-28 Thread Tim Harvey
On Tue, Jun 14, 2016 at 3:48 PM, Steve Longerbeam wrote: > Tested on imx6q SabreAuto with ADV7180, and imx6q SabreSD with > mipi-csi2 OV5640. There is device-tree support also for imx6qdl > SabreLite, but that is not tested. Also, this driver should > theoretically work on

Re: [PATCH 00/38] i.MX5/6 Video Capture

2016-06-18 Thread Hans Verkuil
On 06/17/2016 07:35 PM, Steve Longerbeam wrote: > > > On 06/17/2016 12:10 AM, Hans Verkuil wrote: >> On 06/16/2016 07:02 PM, Steve Longerbeam wrote: >>> On 06/16/2016 02:49 AM, Jack Mitchell wrote: On 16/06/16 02:37, Steve Longerbeam wrote: > Hi Jack, > > On 06/15/2016 03:43 AM,

Re: [PATCH 00/38] i.MX5/6 Video Capture

2016-06-17 Thread Steve Longerbeam
On 06/17/2016 12:10 AM, Hans Verkuil wrote: On 06/16/2016 07:02 PM, Steve Longerbeam wrote: On 06/16/2016 02:49 AM, Jack Mitchell wrote: On 16/06/16 02:37, Steve Longerbeam wrote: Hi Jack, On 06/15/2016 03:43 AM, Jack Mitchell wrote: Trying to use a user pointer rather than mmap also

Re: [PATCH 00/38] i.MX5/6 Video Capture

2016-06-17 Thread Hans Verkuil
On 06/16/2016 07:02 PM, Steve Longerbeam wrote: > On 06/16/2016 02:49 AM, Jack Mitchell wrote: >> >> On 16/06/16 02:37, Steve Longerbeam wrote: >>> Hi Jack, >>> >>> On 06/15/2016 03:43 AM, Jack Mitchell wrote: Trying to use a user pointer rather than mmap also fails and causes a

Re: [PATCH 00/38] i.MX5/6 Video Capture

2016-06-16 Thread Nicolas Dufresne
Le jeudi 16 juin 2016 à 10:02 -0700, Steve Longerbeam a écrit : > I found the cause at least in my case. After enabling dynamic debug in > videobuf2-dma-contig.c, "v4l2-ctl -d/dev/video0 --stream-user=8" gives > me > > [  468.826046] user data must be aligned to 64 bytes > > > > But even

Re: [PATCH 00/38] i.MX5/6 Video Capture

2016-06-16 Thread Nicolas Dufresne
Le jeudi 16 juin 2016 à 10:02 -0700, Steve Longerbeam a écrit : > I found the cause at least in my case. After enabling dynamic debug in > videobuf2-dma-contig.c, "v4l2-ctl -d/dev/video0 --stream-user=8" gives > me > > [  468.826046] user data must be aligned to 64 bytes > > > > But even

Re: [PATCH 00/38] i.MX5/6 Video Capture

2016-06-16 Thread Steve Longerbeam
On 06/16/2016 02:49 AM, Jack Mitchell wrote: > > On 16/06/16 02:37, Steve Longerbeam wrote: >> Hi Jack, >> >> On 06/15/2016 03:43 AM, Jack Mitchell wrote: >>> >>> Trying to use a user pointer rather than mmap also fails and causes a >>> kernel splat. >>> >> >> Hmm, I've tested userptr with the

Re: [PATCH 00/38] i.MX5/6 Video Capture

2016-06-16 Thread Jack Mitchell
On 16/06/16 02:37, Steve Longerbeam wrote: Hi Jack, On 06/15/2016 03:43 AM, Jack Mitchell wrote: Trying to use a user pointer rather than mmap also fails and causes a kernel splat. Hmm, I've tested userptr with the mem2mem driver, but maybe never with video capture. I tried "v4l2-ctl

Re: [PATCH 00/38] i.MX5/6 Video Capture

2016-06-15 Thread Steve Longerbeam
Hi Jack, On 06/15/2016 03:43 AM, Jack Mitchell wrote: > > Trying to use a user pointer rather than mmap also fails and causes a kernel > splat. > Hmm, I've tested userptr with the mem2mem driver, but maybe never with video capture. I tried "v4l2-ctl -d/dev/video0 --stream-user=8" but that

Re: [PATCH 00/38] i.MX5/6 Video Capture

2016-06-15 Thread Hans Verkuil
On 06/15/16 12:43, Jack Mitchell wrote: > On 14/06/16 23:48, Steve Longerbeam wrote: >> Tested on imx6q SabreAuto with ADV7180, and imx6q SabreSD with >> mipi-csi2 OV5640. There is device-tree support also for imx6qdl >> SabreLite, but that is not tested. Also, this driver should >> theoretically

Re: [PATCH 00/38] i.MX5/6 Video Capture

2016-06-15 Thread Jack Mitchell
On 14/06/16 23:48, Steve Longerbeam wrote: Tested on imx6q SabreAuto with ADV7180, and imx6q SabreSD with mipi-csi2 OV5640. There is device-tree support also for imx6qdl SabreLite, but that is not tested. Also, this driver should theoretically work on i.MX5 targets, but that is also untested.

[PATCH 00/38] i.MX5/6 Video Capture

2016-06-14 Thread Steve Longerbeam
Tested on imx6q SabreAuto with ADV7180, and imx6q SabreSD with mipi-csi2 OV5640. There is device-tree support also for imx6qdl SabreLite, but that is not tested. Also, this driver should theoretically work on i.MX5 targets, but that is also untested. Not run through v4l2-compliance yet, but that