Re: [RFC PATCH 7/7] drm/pci: Defer initialization of secondarygraphics devices until switcheroo is ready

From: Matthew Garrett
Date: Mon Aug 20 2012 - 11:36:44 EST


On Mon, Aug 20, 2012 at 10:31:04AM -0500, Seth Forshee wrote:
> + /*
> + * For secondary graphics devices shouldn't be initialized
> + * until the handler and primary graphics device have been
> + * registered with vga_switcheroo.
> + *
> + * FIXME: Is vga_default_device() reliable enough for this
> + * purpose?
> + *
> + * FIXME: If vga_switcheroo is disabled secondary devices
> + * never gets initialized. Is this okay? Maybe it is, since
> + * we can't switch to the secondary GPU anyway.
> + */

Won't this break the multiple cards with independent outputs case?

--
Matthew Garrett | mjg59@xxxxxxxxxxxxx
--
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/