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 to 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 (right after queuing the first request). If I move the calls the VIDIOC_STREAMON after 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.