From c56eb8fb3c8974ebd63a760c54c1012c4357ebe5 Mon Sep 17 00:00:00 2001 From: Ali Saidi Date: Mon, 4 Apr 2011 11:42:23 -0500 Subject: [PATCH] ARM: Fix checkpointing case where PL111 is powered off. --- src/dev/arm/pl111.cc | 8 +++++--- 1 file 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 §ion) schedule(dmaDoneEvent[x], dma_done_event_tick[x]); } - updateVideoParams(); - if (vncserver) - vncserver->setDirty(); + if (lcdControl.lcdpwr) { + updateVideoParams(); + if (vncserver) + vncserver->setDirty(); + } } void -- 2.30.2