diff options
author | Imre Deak <[email protected]> | 2017-05-23 14:18:17 -0500 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2017-05-23 14:18:17 -0500 |
commit | 4d071c3238987325b9e50e33051a40d1cce311cc (patch) | |
tree | a35e74ea39923f868bbcfd051c03f1868df8eeb2 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 415b6185c541dc0a21457ff307cdb61950a6eb9f (diff) |
PCI/PM: Add needs_resume flag to avoid suspend complete optimization
Some drivers - like i915 - may not support the system suspend direct
complete optimization due to differences in their runtime and system
suspend sequence. Add a flag that when set resumes the device before
calling the driver's system suspend handlers which effectively disables
the optimization.
Needed by a future patch fixing suspend/resume on i915.
Suggested by Rafael.
Signed-off-by: Imre Deak <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Acked-by: Rafael J. Wysocki <[email protected]>
Cc: [email protected]
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions