[PATCH] drm: Drop modeset locking from crtc init function

2014-09-08 Thread Daniel Vetter
On Mon, Sep 08, 2014 at 02:57:23PM +0200, Thomas Hellstrom wrote: > On 09/08/2014 09:03 AM, Daniel Vetter wrote: > > At driver init no one can access modeset objects and we're > > single-threaded. So locking is just cargo-culting here. Worse, with > > the new ww mutexes and ww mutex slowpath

[PATCH] drm: Drop modeset locking from crtc init function

2014-09-08 Thread Thomas Hellstrom
On 09/08/2014 09:03 AM, Daniel Vetter wrote: > At driver init no one can access modeset objects and we're > single-threaded. So locking is just cargo-culting here. Worse, with > the new ww mutexes and ww mutex slowpath debugging the mutex_lock > might actually fail, and we don't have the

[PATCH] drm: Drop modeset locking from crtc init function

2014-09-08 Thread Daniel Vetter
At driver init no one can access modeset objects and we're single-threaded. So locking is just cargo-culting here. Worse, with the new ww mutexes and ww mutex slowpath debugging the mutex_lock might actually fail, and we don't have the full-blown ww recovery dance. Which then leads to fireworks

[PATCH] drm: Drop modeset locking from crtc init function

2014-09-05 Thread Daniel Vetter
At driver init no one can access modeset objects and we're single-threaded. So locking is just cargo-culting here. Worse, with the new ww mutexes and ww mutex slowpath debugging the mutex_lock might actually fail, and we don't have the full-blown ww recovery dance. Which then leads to fireworks