Re: [Q] How to tell we're using the KMS (during suspend/resume)outside the graphics driver

From: Matthew Garrett
Date: Wed Mar 10 2010 - 15:56:29 EST


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@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/