summaryrefslogtreecommitdiff
path: root/src/dev
diff options
context:
space:
mode:
Diffstat (limited to 'src/dev')
-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