[PATCH] drm: fix drm_mode_getconnector() locking imbalance regression

2015-04-07 Thread Jani Nikula
On Tue, 07 Apr 2015, Daniel Vetter wrote: > On Fri, Apr 03, 2015 at 10:45:29AM +0300, Tommi Rantala wrote: >> Regression in commit 2caa80e72b57c6216aec6f6a11fcfb4fec46daa0 >> Author: Daniel Vetter >> Date: Sun Feb 22 11:38:36 2015 +0100 >> >> drm: Fix deadlock due to getconnector locking c

[PATCH] drm: fix drm_mode_getconnector() locking imbalance regression

2015-04-07 Thread Daniel Vetter
On Fri, Apr 03, 2015 at 10:45:29AM +0300, Tommi Rantala wrote: > Regression in commit 2caa80e72b57c6216aec6f6a11fcfb4fec46daa0 > Author: Daniel Vetter > Date: Sun Feb 22 11:38:36 2015 +0100 > > drm: Fix deadlock due to getconnector locking changes > > If the drm_connector_find() call retur

[PATCH] drm: fix drm_mode_getconnector() locking imbalance regression

2015-04-03 Thread Tommi Rantala
Regression in commit 2caa80e72b57c6216aec6f6a11fcfb4fec46daa0 Author: Daniel Vetter Date: Sun Feb 22 11:38:36 2015 +0100 drm: Fix deadlock due to getconnector locking changes If the drm_connector_find() call returns NULL, we should no longer call drm_modeset_unlock() to avoid locking imbal