Chromium Code Reviews
DescriptionImplement support for monitor suspend.
This speeds up idle resume by around 2.5 seconds.
Previously, we would turn the panel off before idle suspend. Then we would
suspend and resume. On resume, the kernel would restore the "off" state, and
the Chrome monitor code would kick in to turn the panel on. This is a huge
waste of time when each panel configuration step takes more than one second.
Instead, just before suspending, we turn the backlight off and the panel on.
On resume the kernel sets the panel state to on right away, and power_manager
turns the backlight on. The Chrome monitor code still runs, but is a noop.
This change needs this power_manager change to handle the backlight part:
https://gerrit.chromium.org/gerrit/#/c/40971/
BUG=chrome-os-partner:13364
TEST=By hand: reduce the idle suspend timeout, let the machine idle and
TEST=suspend, press a key to resume and see how long it takes. The time
TEST=it takes shrinks from ~4 seconds to ~1.5 second.
Change-Id: I610995c12ed08624eb0bc91057d7c9bfa8002fbf
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=178195
Patch Set 1 #
Total comments: 36
Patch Set 2 : Patch set 2. #
Total comments: 1
Patch Set 3 : Patch set 3 #Patch Set 4 : Patch set 4 #Patch Set 5 : Removed suspend delay unregister from the destructor. #
Total comments: 2
Messages
Total messages: 13 (0 generated)
|