diff options
author | Rebecca Schultz <rschultz@google.com> | 2008-07-17 18:14:55 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2011-06-14 09:08:43 -0700 |
commit | 4b0ea27fc8202b21ce338c82b55eee9c281bd7da (patch) | |
tree | a4527ae113321bc7a55d316183435ad38ccfabc6 /kernel/power/Makefile | |
parent | b28a6a111c2c4779f92f310cfefe10606df4999f (diff) | |
download | kernel_samsung_espresso10-4b0ea27fc8202b21ce338c82b55eee9c281bd7da.zip kernel_samsung_espresso10-4b0ea27fc8202b21ce338c82b55eee9c281bd7da.tar.gz kernel_samsung_espresso10-4b0ea27fc8202b21ce338c82b55eee9c281bd7da.tar.bz2 |
PM: earlysuspend: Removing dependence on console.
Rather than signaling a full update of the display from userspace via a
console switch, this patch introduces 2 files int /sys/power,
wait_for_fb_sleep and wait_for_fb_wake. Reading these files will block
until the requested state has been entered. When a read from
wait_for_fb_sleep returns userspace should stop drawing. When
wait_for_fb_wake returns, it should do a full update. If either are called
when the fb driver is already in the requested state, they will return
immediately.
Signed-off-by: Rebecca Schultz <rschultz@google.com>
Signed-off-by: Arve Hjønnevåg <arve@android.com>
Diffstat (limited to 'kernel/power/Makefile')
-rw-r--r-- | kernel/power/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/power/Makefile b/kernel/power/Makefile index 0d1c5e4..493f19d 100644 --- a/kernel/power/Makefile +++ b/kernel/power/Makefile @@ -12,5 +12,6 @@ obj-$(CONFIG_WAKELOCK) += wakelock.o obj-$(CONFIG_USER_WAKELOCK) += userwakelock.o obj-$(CONFIG_EARLYSUSPEND) += earlysuspend.o obj-$(CONFIG_CONSOLE_EARLYSUSPEND) += consoleearlysuspend.o +obj-$(CONFIG_FB_EARLYSUSPEND) += fbearlysuspend.o obj-$(CONFIG_MAGIC_SYSRQ) += poweroff.o |