[PATCH] drm/dp/mst: close deadlock in connector destruction.

2015-06-15 Thread Dave Airlie
On 15 June 2015 at 17:49, Daniel Vetter wrote: > On Mon, Jun 15, 2015 at 10:34:28AM +1000, Dave Airlie wrote: >> From: Dave Airlie >> >> I've only seen this once, and I failed to capture the >> lockdep backtrace, but I did some investigations. >> >> If we are calling into the MST layer from EDID

[PATCH] drm/dp/mst: close deadlock in connector destruction.

2015-06-15 Thread Dave Airlie
From: Dave Airlie I've only seen this once, and I failed to capture the lockdep backtrace, but I did some investigations. If we are calling into the MST layer from EDID probing, we have the mode_config mutex held, if during that EDID probing, the MST hub goes away, then we can get a deadlock whe

[PATCH] drm/dp/mst: close deadlock in connector destruction.

2015-06-15 Thread Daniel Vetter
On Mon, Jun 15, 2015 at 10:34:28AM +1000, Dave Airlie wrote: > From: Dave Airlie > > I've only seen this once, and I failed to capture the > lockdep backtrace, but I did some investigations. > > If we are calling into the MST layer from EDID probing, > we have the mode_config mutex held, if duri

[PATCH] drm/dp/mst: close deadlock in connector destruction.

2015-06-15 Thread Jani Nikula
On Mon, 15 Jun 2015, Dave Airlie wrote: > From: Dave Airlie > > I've only seen this once, and I failed to capture the > lockdep backtrace, but I did some investigations. > > If we are calling into the MST layer from EDID probing, > we have the mode_config mutex held, if during that EDID > probing