]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/pm: Allow drivers/pci to manage our pci state normally
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 19 Sep 2025 18:50:14 +0000 (21:50 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 22 Sep 2025 16:34:53 +0000 (19:34 +0300)
commit3a3d9cb0b18df22d0d6466e3eca45cd0ad2ddbc8
tree3457160cc972121662acd63782a376ba7e58a9c5
parent03a37f5c3a169bea3c25b1e07e632cd0ddbcf302
drm/i915/pm: Allow drivers/pci to manage our pci state normally

Stop doing the pci_save_state(), except when we need to prevent
D3 due to BIOS bugs, so that the code in drivers/pci is allowed
to manage the state of the PCI device. Less chance something
getting left by the wayside by i915 if/when the things change in
drivers/pci.

Cc: Badal Nilawar <badal.nilawar@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-6-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/i915_driver.c