summaryrefslogtreecommitdiff
path: root/src/dev/arm
diff options
context:
space:
mode:
authorAli Saidi <Ali.Saidi@ARM.com>2011-04-04 11:42:23 -0500
committerAli Saidi <Ali.Saidi@ARM.com>2011-04-04 11:42:23 -0500
commitc56eb8fb3c8974ebd63a760c54c1012c4357ebe5 (patch)
treeeeabbf7bc535fb6ab181da0eab4c3f5c605d6fa8 /src/dev/arm
parent6fd271ffb37a304715c5a93950ca1d4c9595a518 (diff)
downloadgem5-c56eb8fb3c8974ebd63a760c54c1012c4357ebe5.tar.xz
ARM: Fix checkpointing case where PL111 is powered off.
Diffstat (limited to 'src/dev/arm')
-rw-r--r--src/dev/arm/pl111.cc8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/dev/arm/pl111.cc b/src/dev/arm/pl111.cc
index 98d231f3b..e5da82e73 100644
--- a/src/dev/arm/pl111.cc
+++ b/src/dev/arm/pl111.cc
@@ -713,9 +713,11 @@ Pl111::unserialize(Checkpoint *cp, const std::string &section)
schedule(dmaDoneEvent[x], dma_done_event_tick[x]);
}
- updateVideoParams();
- if (vncserver)
- vncserver->setDirty();
+ if (lcdControl.lcdpwr) {
+ updateVideoParams();
+ if (vncserver)
+ vncserver->setDirty();
+ }
}
void