[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20120822141846.3b142c12@pyramind.ukuu.org.uk>
Date: Wed, 22 Aug 2012 14:18:46 +0100
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: Daniel Vetter <daniel.vetter@...ll.ch>
Cc: LKML <linux-kernel@...r.kernel.org>,
DRI Development <dri-devel@...ts.freedesktop.org>,
linux-fbdev@...r.kernel.org
Subject: Re: [PATCH 0/2] console_lock debug improvements
On Wed, 22 Aug 2012 00:34:30 +0200
Daniel Vetter <daniel.vetter@...ll.ch> wrote:
> Hi all,
>
> After Dave Airlie blew through a few days to track down a deadlock at boot-up
> when handing over from the firmware fb to the kms/drm framebuffer driver (1), I've
> figured that lockdep /should/ have caught this.
>
> And indeed, by adding proper annotations to the console_lock it complains about
> the potential deadlock when exercising the entire driver life-cycle of just one
> fb driver (i.e. not even a handover required). While at it, I've replaced the
> existing in_interrupt check with the more paranoid might_sleep.
>
> Comments, flames and review highly welcome.
This will be an absolute godsend for DRI debugging. Definitely wants to go
in.
Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists