From mboxrd@z Thu Jan 1 00:00:00 1970 From: NeilBrown Date: Wed, 25 Feb 2015 09:37:08 +0000 Subject: [PATCH] OMAP: DSS: DPI: disable vt-switch on suspend/resume. Message-Id: <20150225203708.0eb2fa96@notabene.brown> MIME-Version: 1 Content-Type: multipart/mixed; boundary="Sig_/gBHHyJuWbq6.K2o/BMsTJV/" List-Id: To: Tomi Valkeinen Cc: linux-omap@vger.kernel.org, linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org, GTA04 owners --Sig_/gBHHyJuWbq6.K2o/BMsTJV/ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable These devices do not need to return to non-graphic console for suspend, so disable that option. This means there is less work to do in the suspend/resume cycle, making it smoother and cheaper. Signed-off-by: NeilBrown -- Hi Tomi, I wonder if you would consider this patch too. It works for me and removes pointless vt switching. I assume no-one would need or want that switching on suspend/resume but I guess I cannot be certain. Maybe a module-parameter could be used if there was any uncertainty. thanks, NeilBrown diff --git a/drivers/video/fbdev/omap2/dss/dpi.c b/drivers/video/fbdev/omap= 2/dss/dpi.c index f83e7b030249..4a29bab4ade3 100644 --- a/drivers/video/fbdev/omap2/dss/dpi.c +++ b/drivers/video/fbdev/omap2/dss/dpi.c @@ -32,6 +32,7 @@ #include #include #include +#include =20 #include