[PATCH 0/6] drm/i915/pm: Clean up the hibernate vs. PCI D3 quirk

Ville Syrjala ville.syrjala at linux.intel.com
Wed Sep 25 14:45:20 UTC 2024


From: Ville Syrjälä <ville.syrjala at linux.intel.com>

Attempt to make i915 rely more on the standard pci pm
code instead of hand rolling a bunch of
pci_save_state()+pci_set_power_state() stuff in the
driver.

Cc: Bjorn Helgaas <bhelgaas at google.com>
Cc: "Rafael J. Wysocki" <rafael at kernel.org>
Cc: Rodrigo Vivi <rodrigo.vivi at intel.com>
Cc: linux-pci at vger.kernel.org

Ville Syrjälä (6):
  PCI/PM: Respect pci_dev->skip_bus_pm in the .poweroff() path
  drm/i915/pm: Hoist pci_save_state()+pci_set_power_state() to the end
    of pm _late() hook
  drm/i915/pm: Simplify pm hook documentation
  drm/i915/pm: Move the hibernate+D3 quirk stuff into noirq() pm hooks
  drm/i915/pm: Do pci_restore_state() in switcheroo resume hook
  drm/i915/pm: Use pci_dev->skip_bus_pm for hibernate vs. D3 workaround

 drivers/gpu/drm/i915/i915_driver.c | 121 +++++++++++++++++++----------
 drivers/pci/pci-driver.c           |  16 +++-
 2 files changed, 94 insertions(+), 43 deletions(-)

-- 
2.44.2



More information about the Intel-gfx mailing list