* Re: [PATCH] restore framebuffer console after suspend
[not found] <3DCC5DA4.2010707@gmx.net>
@ 2002-11-09 2:16 ` Carl-Daniel Hailfinger
0 siblings, 0 replies; only message in thread
From: Carl-Daniel Hailfinger @ 2002-11-09 2:16 UTC (permalink / raw)
To: Marcelo Tosatti; +Cc: linux-kernel, Benjamin Herrenschmidt, linux-fbdev-devel
[-- Attachment #1: Type: text/plain, Size: 272 bytes --]
Marcelo,
please disregard my previous patch as it is needlessly invasive. I'm
currently evaluating a smaller patch (attached) which does not require an
audit of the low-level drivers and still fixes my problem.
Ben, can you please comment on this?
Thanks
Carl-Daniel
[-- Attachment #2: patch-fbdev.txt --]
[-- Type: text/plain, Size: 407 bytes --]
===== drivers/video/fbcon.c 1.12 vs edited =====
--- 1.12/drivers/video/fbcon.c Thu Sep 12 17:22:35 2002
+++ edited/drivers/video/fbcon.c Sat Nov 9 02:57:00 2002
@@ -1573,7 +1573,7 @@ static int fbcon_blank(struct vc_data *c
return 0;
#ifdef CONFIG_PM
if (fbcon_sleeping)
- return 0;
+ return blank ? 0 : 1;
#endif /* CONFIG_PM */
fbcon_cursor(p->conp, blank ? CM_ERASE : CM_DRAW);
^ permalink raw reply [flat|nested] only message in thread