ARM: Fix checkpointing case where PL111 is powered off.
authorAli Saidi <Ali.Saidi@ARM.com>
Mon, 4 Apr 2011 16:42:23 +0000 (11:42 -0500)
committerAli Saidi <Ali.Saidi@ARM.com>
Mon, 4 Apr 2011 16:42:23 +0000 (11:42 -0500)
src/dev/arm/pl111.cc

index 98d231f3bf5d3232d12f5c0397fbac6c52b47814..e5da82e73cb9736dcae78b8ebe59c3fbb782bcef 100644 (file)
@@ -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