Re: [PATCH] v4l: vsp1: Fix deadlock in VSPDL DRM pipelines

2018-07-30 Thread Mauro Carvalho Chehab
Em Sat, 28 Jul 2018 20:13:05 +0100 Kieran Bingham escreveu: > Hi Laurent, Mauro, > > I've cast my eyes through this, and the driver code it affects > > On 27/07/18 18:19, Laurent Pinchart wrote: > > The VSP uses a lock to protect the BRU and BRS assignment when > > configuring pipelines. The lo

Re: [PATCH] v4l: vsp1: Fix deadlock in VSPDL DRM pipelines

2018-07-28 Thread Kieran Bingham
Hi Laurent, Mauro, I've cast my eyes through this, and the driver code it affects On 27/07/18 18:19, Laurent Pinchart wrote: > The VSP uses a lock to protect the BRU and BRS assignment when > configuring pipelines. The lock is taken in vsp1_du_atomic_begin() and > released in vsp1_du_atomic_flush

[PATCH] v4l: vsp1: Fix deadlock in VSPDL DRM pipelines

2018-07-27 Thread Laurent Pinchart
The VSP uses a lock to protect the BRU and BRS assignment when configuring pipelines. The lock is taken in vsp1_du_atomic_begin() and released in vsp1_du_atomic_flush(), as well as taken and released in vsp1_du_setup_lif(). This guards against multiple pipelines trying to assign the same BRU and BR