Re: [Nouveau] [PATCH v2] vga16fb: refuse to load in face of otherdriver controlling primary card

From: Marcin Slusarz
Date: Sun Jul 25 2010 - 07:57:31 EST


On Sun, Jul 25, 2010 at 06:42:48PM +1000, Dave Airlie wrote:
> On Fri, Jul 23, 2010 at 11:10 PM, Marcin Slusarz
> <marcin.slusarz@xxxxxxxxx> wrote:
> > On Thu, Jul 22, 2010 at 05:20:39PM -0700, Andrew Morton wrote:
> >> On Tue, 20 Jul 2010 21:19:23 +0200
> >> Marcin Slusarz <marcin.slusarz@xxxxxxxxx> wrote:
> >>
> >> > We don't want vga16fb to mess with hardware initialized by other driver.
> >> > Detect it and refuse to load.
> >> > It fixes nouveau interrupt storm on some machines.
>
> Can't we keep this all inside vga16fb?

That's what v1 did (*), but Andrew didn't like it.

> just have it walk PCI tree
> looking for a primary VGA card, and if it has a driver bound, just
> refuse to bind.
>
> Dave.

(*) http://lkml.org/lkml/2010/7/20/244

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/