Re: [PATCH] v4l: vsp1: Prevent commencing pipelines before they are setup

2016-11-24 Thread Laurent Pinchart
Hi Kieran, On Wednesday 23 Nov 2016 12:28:15 Kieran Bingham wrote: > Just FYI, > > Whilst this patch is functional on its own, it is likely to be > superseded before it gets a chance to be integrated as I am currently > reworking vsp1_video_start_streaming(), in particular the use of > vsp1_video

Re: [PATCH] v4l: vsp1: Prevent commencing pipelines before they are setup

2016-11-23 Thread Kieran Bingham
Just FYI, Whilst this patch is functional on its own, it is likely to be superseded before it gets a chance to be integrated as I am currently reworking vsp1_video_start_streaming(), in particular the use of vsp1_video_setup_pipeline(). The re-work will of course also consider and tackle the issu

[PATCH] v4l: vsp1: Prevent commencing pipelines before they are setup

2016-11-11 Thread Kieran Bingham
With multiple inputs through the BRU it is feasible for the streams to race each other at stream-on. In the case of the video pipelines, this can present two serious issues. 1) A null-dereference if the pipe->dl is committed at the same time as the vsp1_video_setup_pipeline() is processing