Messages in this thread | | | Date | Wed, 10 Mar 2010 20:56:18 +0000 | From | Matthew Garrett <> | Subject | Re: [Q] How to tell we're using the KMS (during suspend/resume) outside the graphics driver |
| |
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@srcf.ucam.org
| |