Skip to contentSkip to conversation

restore framebuffer console after suspend

PATCH New Carl-Daniel Hailfinger 1 participant 1 message Nov 11, 2002 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 restore framebuffer console after suspend

Marcelo,

this patch fixes the case when a laptop was suspended and resumed while a framebuffer console was active, the console would not be redrawn.

After a discussion with Benjamin Herrenschmidt, we both agree that this patch is the best solution. It is the same as my first patch with this subject, just resent because there was some confusion about which patch was best.

Please apply for 2.4.20-rc2.

Thanks
Carl-Daniel

drivers/video/fbcon.c +0 -4
diff -Naur linux.orig/drivers/video/fbcon.c linux/drivers/video/fbcon.c
@@ -1571,10 +1571,6 @@ static int fbcon_blank(struct vc_data *c
 
     if (blank < 0)	/* Entering graphics mode */
 	return 0;
-#ifdef CONFIG_PM
-    if (fbcon_sleeping)
-    	return 0;
-#endif /* CONFIG_PM */
 
     fbcon_cursor(p->conp, blank ? CM_ERASE : CM_DRAW);