Rafael J. Wysocki 0e5dd46b76 PCI PM: Introduce __pci_[start|complete]_power_transition() (rev. 2)
The radeonfb driver needs to program the device's PMCSR directly due
to some quirky hardware it has to handle (see
http://bugzilla.kernel.org/show_bug.cgi?id=12846 for details) and
after doing that it needs to call the platform (usually ACPI) to
finish the power transition of the device.  Currently it uses
pci_set_power_state() for this purpose, however making a specific
assumption about the internal behavior of this function, which has
changed recently so that this assumption is no longer satisfied.
For this reason, introduce __pci_complete_power_transition() that may
be called by the radeonfb driver to complete the power transition of
the device.  For symmetry, introduce __pci_start_power_transition().

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2009-03-30 21:46:56 +02:00
..
2005-10-18 08:26:15 -07:00
2008-10-16 16:53:15 +02:00
2008-10-15 14:24:08 +02:00
2008-10-15 14:24:08 +02:00
2009-02-13 11:59:03 -08:00
2006-12-01 14:36:56 -08:00
2009-01-09 03:39:43 -05:00
2009-02-13 12:01:56 -08:00
2008-10-22 16:42:35 -07:00
2008-06-25 16:05:13 -07:00