diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2009-03-26 22:51:40 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2009-03-30 21:46:56 +0200 |
commit | 0e5dd46b761195356065a30611f265adec286d0d (patch) | |
tree | 4ca10dac14ac44789a51048c4ceb3989be175f63 /drivers/video/aty | |
parent | PCI PM: Restore config spaces of all devices during early resume (diff) | |
download | linux-0e5dd46b761195356065a30611f265adec286d0d.tar.xz linux-0e5dd46b761195356065a30611f265adec286d0d.zip |
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>
Diffstat (limited to 'drivers/video/aty')
0 files changed, 0 insertions, 0 deletions