diff options
author | Andy Green <andy@openmoko.com> | 2008-11-19 17:09:50 +0000 |
---|---|---|
committer | Andy Green <agreen@pads.home.warmcat.com> | 2008-11-19 17:09:50 +0000 |
commit | 49a29fe542da56921c181955329a73478d1ec536 (patch) | |
tree | bfed68e4e817ad7c7407956646c4ed44e285163b /drivers/mfd/glamo/glamo-core.h | |
parent | 62f172db87f7b81bd67a316531e9467ba8de706f (diff) |
fix-glamo-suspend-resume-dram-and-engines.patch
Two issues... we never took care to take down engines in suspend
and bring them back in resume. This was part of the display
corruption that could be seen briefly on resume. The other issue
that made the "noise" corruption was bad ordering of resume steps.
This patch simplifies (removing needless re-init) resume actions
and makes explicit the suspend and resume steps. It also adds
code to track which engines are up and push them down in suspend
and bring them back in resume.
The result is no more corruption of display buffer in suspend, it
comes back completely clean.
Signed-off-by: Andy Green <andy@openmoko.com>
Diffstat (limited to 'drivers/mfd/glamo/glamo-core.h')
-rw-r--r-- | drivers/mfd/glamo/glamo-core.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mfd/glamo/glamo-core.h b/drivers/mfd/glamo/glamo-core.h index b1531b387e5..c89f8104fb1 100644 --- a/drivers/mfd/glamo/glamo-core.h +++ b/drivers/mfd/glamo/glamo-core.h @@ -30,6 +30,8 @@ struct glamo_core { u_int16_t revision; spinlock_t lock; struct resume_dependency resume_dependency; + u32 engine_enabled_bitfield; + u32 engine_enabled_bitfield_suspend; }; struct glamo_script { |