diff options
author | 2022-10-25 15:38:46 -0500 | |
---|---|---|
committer | 2022-10-26 11:25:22 -0500 | |
commit | 7f142022e6bfd2dd5ed998f7165e396bf5966513 (patch) | |
tree | a0d740bef80f4a6ace7fb7bd2cd7b0cdd4f97265 /tools/perf/scripts/python | |
parent | agp/efficeon: Convert to generic power management (diff) | |
download | wireguard-linux-7f142022e6bfd2dd5ed998f7165e396bf5966513.tar.xz wireguard-linux-7f142022e6bfd2dd5ed998f7165e396bf5966513.zip |
agp/intel: Convert to generic power management
Convert agpgart-intel from legacy PCI power management to the generic power
management framework.
Previously agpgart-intel used legacy PCI power management, and
agp_intel_resume() was responsible for both device-specific things and
generic PCI things like saving and restoring config space and managing
power state.
In this case, agp_intel_suspend() was empty, and agp_intel_resume()
already did only device-specific things, so simply convert it to take a
struct device * instead of a struct pci_dev *.
Based on 0aeddbd0cb07 ("via-agp: convert to generic power management") by
Vaibhav Gupta <vaibhavgupta40@gmail.com>.
Link: https://lore.kernel.org/r/20221025203852.681822-3-helgaas@kernel.org
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions