[PATCH] suspend-to-ram: allow video options to be set at runtime
authorPavel Machek <pavel@ucw.cz>
Tue, 21 Feb 2006 02:27:58 +0000 (18:27 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 21 Feb 2006 04:00:10 +0000 (20:00 -0800)
commitc255d844dd73616f23e4b4733edcc2e5fa4042b2
tree33665c47a67c3e168095e13329e71c6b5d18fd4d
parent6303dbf570e410067380daec670fdb4137ac0d1d
[PATCH] suspend-to-ram: allow video options to be set at runtime

Currently, acpi video options can only be set on kernel command line.  That's
little inflexible; I'd like userland s2ram application that just works, and
modifying kernel command line according to whitelist is not fun.  It is better
to just allow s2ram application to set video options just before suspend
(according to the whitelist).

This implements sysctl to allow setting suspend video options without reboot.

(akpm: Documentation updates for this new sysctl are pending..)

Signed-off-by: Pavel Machek <pavel@suse.cz>
Cc: "Brown, Len" <len.brown@intel.com>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Documentation/sysctl/kernel.txt
include/linux/acpi.h
include/linux/sysctl.h
kernel/sysctl.c