summaryrefslogtreecommitdiff
path: root/kernel/power/suspend_test.c
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2013-02-04 17:37:20 +0400
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-02-20 04:33:41 +0400
commitf43f627d2f17e95c78647eeddf968d12f5c286b1 (patch)
tree6422cc20ed378f976a7ef4408921c712e5299dc8 /kernel/power/suspend_test.c
parent210561ffd72d00eccf12c0131b8024d5436bae95 (diff)
downloadlinux-f43f627d2f17e95c78647eeddf968d12f5c286b1.tar.xz
PM: make VT switching to the suspend console optional v3
KMS drivers can potentially restore the display configuration without userspace help. Such drivers can can call a new funciton, pm_vt_switch_required(false) if they support this feature. In that case, the PM layer won't VT switch to the suspend console at suspend time and then back to the original VT on resume, but rather leave things alone for a nicer looking suspend and resume sequence. v2: make a function so we can handle multiple drivers (Alan) v3: use a list to track device requests (Rafael) v4: Squash in build fix from Jesse for CONFIG_VT_CONSOLE_SLEEP=n v5: Squash in patch from Wu Fengguang to add a few missing static qualifiers. v6: Add missing EXPORT_SYMBOL. Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org> Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> (v3) Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'kernel/power/suspend_test.c')
0 files changed, 0 insertions, 0 deletions