summaryrefslogtreecommitdiff
path: root/Documentation/power/pci.txt
diff options
context:
space:
mode:
authorSean Paul <seanpaul@chromium.org>2018-02-16 23:47:43 +0300
committerSean Paul <seanpaul@chromium.org>2018-02-16 23:47:43 +0300
commitd4da404f36b24b089d20db1fb27d8f99cb66f409 (patch)
tree349c4b792281826652eb9e6d7a46ed6622dc90de /Documentation/power/pci.txt
parentfa4127c5eb8def998fd8a471d51a4f2560dea0a2 (diff)
parent933519a5a269d8460450545adefcb5caec622cac (diff)
downloadlinux-d4da404f36b24b089d20db1fb27d8f99cb66f409.tar.xz
Merge airlied/drm-next into drm-misc-next
Backmerge 4.15 and hdcp topic branch Signed-off-by: Sean Paul <seanpaul@chromium.org>
Diffstat (limited to 'Documentation/power/pci.txt')
-rw-r--r--Documentation/power/pci.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/Documentation/power/pci.txt b/Documentation/power/pci.txt
index 704cd36079b8..8eaf9ee24d43 100644
--- a/Documentation/power/pci.txt
+++ b/Documentation/power/pci.txt
@@ -994,6 +994,17 @@ into D0 going forward), but if it is in runtime suspend in pci_pm_thaw_noirq(),
the function will set the power.direct_complete flag for it (to make the PM core
skip the subsequent "thaw" callbacks for it) and return.
+Setting the DPM_FLAG_LEAVE_SUSPENDED flag means that the driver prefers the
+device to be left in suspend after system-wide transitions to the working state.
+This flag is checked by the PM core, but the PCI bus type informs the PM core
+which devices may be left in suspend from its perspective (that happens during
+the "noirq" phase of system-wide suspend and analogous transitions) and next it
+uses the dev_pm_may_skip_resume() helper to decide whether or not to return from
+pci_pm_resume_noirq() early, as the PM core will skip the remaining resume
+callbacks for the device during the transition under way and will set its
+runtime PM status to "suspended" if dev_pm_may_skip_resume() returns "true" for
+it.
+
3.2. Device Runtime Power Management
------------------------------------
In addition to providing device power management callbacks PCI device drivers