diff options
author | Rebecca Schultz <rschultz@google.com> | 2008-07-17 18:14:55 -0700 |
---|---|---|
committer | Arve Hjønnevåg <arve@android.com> | 2009-04-07 16:43:05 -0700 |
commit | ba801aa66e869f1f9f9d3a1610a2165baa024e4b (patch) | |
tree | 56939f267b8e5c972b76411dd951047d1dc9f53b /init/calibrate.c | |
parent | 0083b2afe89dea4a06bfd967b164318ad0bccd11 (diff) |
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 'init/calibrate.c')
0 files changed, 0 insertions, 0 deletions