]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/pm: Hoist pci_save_state()+pci_set_power_state() to the end of pm _late...
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 19 Sep 2025 18:50:11 +0000 (21:50 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 22 Sep 2025 16:34:45 +0000 (19:34 +0300)
commitcead397a976dde554f5bfba48a06f49c29bc3982
tree972fc849cdd2611324c545e458cc11fcc80ddfdf
parentbc412f9a993b49b1af22cc4c2f834f4350b06957
drm/i915/pm: Hoist pci_save_state()+pci_set_power_state() to the end of pm _late() hook

drivers/pci does the pci_save_state()+pci_set_power_state() from
the _noirq() pm hooks. Move our manual calls (needed for the
hibernate vs. D3 workaround with buggy BIOSes) towards that same
point. We currently have no _noirq() hooks, so end of _late()
hooks is the best we can do right now.

Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Jouni Högander <jouni.hogander@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250919185015.14561-3-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/i915_driver.c