diff options
author | Rebecca Schultz <rschultz@google.com> | 2008-07-17 18:14:55 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:37:53 -0800 |
commit | 8d0aa9f0bbb71790756d60c2a4550f7428ee7869 (patch) | |
tree | cae304cd6f4989dafcbe188bdd8c36f16b0572c8 /mm | |
parent | 1c26813171af15585f50070dc158bba056d1cf2c (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 'mm')
0 files changed, 0 insertions, 0 deletions