Prev: [PATCH trivial] MAINTAINERS: Use tab not spaces for delimiter
Next: [PATCH] mm: fix typo in refill_stock() comment
From: Matthew Garrett on 10 Mar 2010 16:00 As far as the ACPI video driver goes, acpi_get_physical_pci_device() will give you something to work with. For the console-switching case, I think the most reasonable plan is probably to add a flag to the console drivers to indicate whether or not they support reprogramming the hardware themselves, and then walk all active console drivers. There'd need to be a way for fb drivers to tell fbcon that they can handle it. -- Matthew Garrett | mjg59(a)srcf.ucam.org -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
From: Matthew Garrett on 10 Mar 2010 16:20
On Wed, Mar 10, 2010 at 10:15:26PM +0100, Rafael J. Wysocki wrote: > On Wednesday 10 March 2010, Matthew Garrett wrote: > > As far as the ACPI video driver goes, acpi_get_physical_pci_device() > > will give you something to work with. > > Hmm. Did you mean acpi_get_physical_device()? Ah, no, acpi_get_pci_dev. > Which acpi_device should I call that for? The video one. acpi_video_bus_check does something very similar to check whether the device actually exists. -- Matthew Garrett | mjg59(a)srcf.ucam.org -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ |