From: Ali Saidi Date: Mon, 4 Apr 2011 16:42:23 +0000 (-0500) Subject: ARM: Fix checkpointing case where PL111 is powered off. X-Git-Tag: stable_2012_02_02~427 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c56eb8fb3c8974ebd63a760c54c1012c4357ebe5;p=gem5.git ARM: Fix checkpointing case where PL111 is powered off. --- 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