On Mon, Jan 21, 2008 at 02:00:41PM -0500, Theodore Tso wrote: > Well, unless until Video card vendors give us their secret interfaves > to reinitialize their cards, we're never going to figure it out, > right? There's (not yet mainline) code to do this on Intel, and it looks like AtomBios based ATIs (some r400s, all r500s and later) should be trivial. The work the Nouveau people have been doing is also very promising, and I suspect we can do cold boot there before too long. I was going to do some work on this this week, but my ATI machine got stolen... > At least for vendors like Lenovo, where some laptops will be > shipping with Intel cards where we will eventually be able do our own > video reinit after suspend, and some with Nvidia chipsets where it > doesn't seem terribly likely until someone at Nvidia has a change of > heart, the BIOS won't be able to use the "please reinit video" as a > general "Linux" indicator, since they will need to support laptops > with Good as well as Evil graphics chipsets. :-) The problem is that we don't inherently know if we can support reinitialising video natively until the video driver is loaded, and there's a high probability that that's going to come from a module. We're already executing ACPI by then, so the firmware's had the opportunity to stash an incorrect value and can blow everything up later on. If vendors want their laptops to work on Linux, then the best thing they can do is help us get our drivers working properly. Another disadvantage is that there's no real chance that Linux will be tested in the "No, really, I can handle my graphics myself" case. Relying on their firmware guys to get this right is inviting the fuckup fairy to come and start nesting - Lenovo have already shown us what happens when we let vendors try to be clever. Now, stuff like a standardised entrypoint into ACPI that reinitialises the video - that would be helpful, since we could choose whether to call it or not which means whether or not something gets screwed up is determined by us and not the vendor. -- Matthew Garrett | mjg59@xxxxxxxxxxxxx - To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html