diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-12-27 14:16:10 +0000 |
---|---|---|
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2012-01-03 16:00:04 +0000 |
commit | f4f514734e3d398cfb70827615f129826ff84b06 (patch) | |
tree | 0132c27ebe85dab465266d01dbd413169bb6895b /virt/kvm | |
parent | 3500b0be62c8cc2f93e8022dc70071ec31b067de (diff) | |
download | linux-f4f514734e3d398cfb70827615f129826ff84b06.tar.bz2 |
video: s3c-fb: Take a runtime PM reference when unblanked
When the framebuffer is unblanked hold a runtime PM reference. This
prevents us powering down when userspace has left an image on the
framebuffer and prepares the way for being able to power down the hardware
when an application still has the device open.
Since we now hold a runtime PM reference whenever the display is unblanked
there is no need for the runtime power management to disable and enable
the display, and doing so would lead to runtime PM trying to recurse into
itself when called from the blanking code, so split the runtime PM into
separate functions which only deal with the clocks. The PM core will
runtime resume the device prior to system suspend.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'virt/kvm')
0 files changed, 0 insertions, 0 deletions