summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/gt/intel_context.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-10-15 18:45:59 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-10-21 12:18:13 +0200
commit6f9f0eef0096caddc3fd92760f818970033f06ea (patch)
tree7d0d6bcf35d16b42156746d0d9c6b611a0ff9597 /drivers/gpu/drm/i915/gt/intel_context.c
parentfa1a25c51d02f153b49444aa872bee9da3c13ecf (diff)
PCI: PM: Fix ordering of operations in pci_back_from_sleep()
The ordering of operations in pci_back_from_sleep() is incorrect, because the device may be in D3cold when it runs and pci_enable_wake() needs to access the device's configuration space which cannot be done in D3cold. Fix this by calling pci_set_power_state() to put the device into D0 before calling pci_enable_wake() for it. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/gpu/drm/i915/gt/intel_context.c')
0 files changed, 0 insertions, 0 deletions