android_kernel_xiaomi_sm8350/drivers/pci
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
..
hotplug pci: struct device - replace bus_id with dev_name(), dev_set_name() 2009-03-24 16:38:21 -07:00
pcie PCIe: portdrv: call pci_disable_device during remove 2009-03-12 15:42:35 -04:00
.gitignore
access.c
bus.c
dmar.c x86, dmar: use atomic allocations for QI and Intr-remapping init 2009-03-17 16:49:30 -07:00
hotplug-pci.c
hotplug.c
htirq.c
intel-iommu.c x86, dmar: start with sane state while enabling dma and interrupt-remapping 2009-03-17 15:39:58 -07:00
intr_remapping.c Merge branch 'linus' into x86/core 2009-03-28 22:27:45 +01:00
intr_remapping.h
iova.c
irq.c
Kconfig
Makefile
msi.c PCI/MSI: fix msi_mask() shift fix 2009-02-13 11:59:03 -08:00
msi.h
pci-acpi.c
pci-driver.c PCI PM: Restore config spaces of all devices during early resume 2009-03-30 21:46:56 +02:00
pci-stub.c
pci-sysfs.c
pci.c PCI PM: Introduce __pci_[start|complete]_power_transition() (rev. 2) 2009-03-30 21:46:56 +02:00
pci.h PCI PM: Move pci_restore_standard_config to pci-driver.c 2009-03-30 21:46:55 +02:00
probe.c
proc.c
quirks.c pci: Fix typo in message while disabling HT MSI mapping 2009-03-12 15:42:29 -04:00
remove.c
rom.c PCI: fix rom.c kernel-doc warning 2009-02-13 12:01:56 -08:00
search.c
setup-bus.c
setup-irq.c
setup-res.c
slot.c
syscall.c