Re: [DRM] BUG: sleeping function called from invalid context, drm_lastclose

2010-08-11 Thread Arnd Bergmann
On Wednesday 11 August 2010, Dave Airlie wrote: > On Wed, Aug 11, 2010 at 6:48 PM, Luca Tettamanti wrote: > > > > > > moved the call to (inside drm_release) drm_lastclose inside dev->count_lock > > spinlock. > > drm_lastclose however takes dev->struct_mutex (now inside an atomic > > context): Yes

Re: [DRM] BUG: sleeping function called from invalid context, drm_lastclose

2010-08-11 Thread Dave Airlie
On Wed, Aug 11, 2010 at 6:48 PM, Luca Tettamanti wrote: > Hi Arnd, > this commit: > > commit 58374713c9dfb4d231f8c56cac089f6fbdedc2ec > Author: Arnd Bergmann > Date:   Sat Jul 10 23:51:39 2010 +0200 > >    drm: kill BKL from common code > > > moved the call to (inside drm_release) drm_lastclose i

[DRM] BUG: sleeping function called from invalid context, drm_lastclose

2010-08-11 Thread Luca Tettamanti
Hi Arnd, this commit: commit 58374713c9dfb4d231f8c56cac089f6fbdedc2ec Author: Arnd Bergmann Date: Sat Jul 10 23:51:39 2010 +0200 drm: kill BKL from common code moved the call to (inside drm_release) drm_lastclose inside dev->count_lock spinlock. drm_lastclose however takes dev->struct_mu