On Tue, Apr 17, 2018 at 3:12 PM Hans Verkuil <hverk...@xs4all.nl> wrote:
> On 04/17/2018 06:33 AM, Alexandre Courbot wrote:
> > On Mon, Apr 9, 2018 at 11:20 PM Hans Verkuil <hverk...@xs4all.nl> wrote:
> >> From: Hans Verkuil <hans.verk...@cisco.com>
> >> Hi all,
> >> This is a cleaned up version of the v10 series (never posted to
> >> the list since it was messy).
> > Hi Hans,
> > It took me a while to test and review this, but finally have been able
> > do it.
> > First the result of the test: I have tried porting my dummy vim2m test
> > program
> > (https://gist.github.com/Gnurou/34c35f1f8e278dad454b51578d239a42 for
> > reference),
> > and am getting a hang when trying to queue the second OUTPUT buffer
> > after
> > queuing the first request). If I move the calls the VIDIOC_STREAMON
> > the
> > requests are queued, the hang seems to happen at that moment. Probably a
> > deadlock, haven't looked in detail yet.
> > I have a few other comments, will follow up per-patch.
> I had a similar/same (?) report about this from Paul:
I saw this and tried to move the call to STREAMON to after the requests are
queued in my example program, but it then hanged there. So there is
probably something more intricate taking place.