Re: [Intel-gfx] [PATCH 1/2] fb: Rework locking to fix lock ordering on takeover

2013-01-23 Thread Daniel Vetter
On Wed, Jan 23, 2013 at 5:38 PM, Takashi Iwai wrote: > At Wed, 23 Jan 2013 17:25:08 +0100, > Daniel Vetter wrote: >> >> From: Alan Cox >> >> Adjust the console layer to allow a take over call where the caller already >> holds the locks. Make the fb layer lock in order. >> >> This s partly a band

Re: [Intel-gfx] [PATCH 1/2] fb: Rework locking to fix lock ordering on takeover

2013-01-23 Thread Takashi Iwai
At Wed, 23 Jan 2013 17:25:08 +0100, Daniel Vetter wrote: > > From: Alan Cox > > Adjust the console layer to allow a take over call where the caller already > holds the locks. Make the fb layer lock in order. > > This s partly a band aid, the fb layer is terminally confused about the > locking r

[Intel-gfx] [PATCH 1/2] fb: Rework locking to fix lock ordering on takeover

2013-01-23 Thread Daniel Vetter
From: Alan Cox Adjust the console layer to allow a take over call where the caller already holds the locks. Make the fb layer lock in order. This s partly a band aid, the fb layer is terminally confused about the locking rules it uses for its notifiers it seems. Signed-off-by: Alan Cox [danvet