dbc4a9
From: "kernel-team@fedoraproject.org" <kernel-team@fedoraproject.org>
dbc4a9
Date: Thu, 29 Jul 2010 16:46:31 -0700
dbc4a9
Subject: [PATCH] silence fbcon logo
dbc4a9
68d0d6
Bugzilla: N/A
68d0d6
Upstream-status: Fedora mustard
dbc4a9
---
dbc4a9
 drivers/video/console/fbcon.c | 24 +++++++++++++++++-------
dbc4a9
 1 file changed, 17 insertions(+), 7 deletions(-)
68d0d6
Jesse Keating 7a3296
diff --git a/drivers/video/console/fbcon.c b/drivers/video/console/fbcon.c
98a08a
index ea437245562e..eefa9c45d2e1 100644
Jesse Keating 7a3296
--- a/drivers/video/console/fbcon.c
Jesse Keating 7a3296
+++ b/drivers/video/console/fbcon.c
f046ab
@@ -637,13 +637,15 @@ static void fbcon_prepare_logo(struct vc_data *vc, struct fb_info *info,
Jesse Keating 7a3296
 		kfree(save);
Jesse Keating 7a3296
 	}
Jesse Keating 7a3296
 
Jesse Keating 7a3296
-	if (logo_lines > vc->vc_bottom) {
Jesse Keating 7a3296
-		logo_shown = FBCON_LOGO_CANSHOW;
Jesse Keating 7a3296
-		printk(KERN_INFO
Jesse Keating 7a3296
-		       "fbcon_init: disable boot-logo (boot-logo bigger than screen).\n");
Jesse Keating 7a3296
-	} else if (logo_shown != FBCON_LOGO_DONTSHOW) {
Jesse Keating 7a3296
-		logo_shown = FBCON_LOGO_DRAW;
Jesse Keating 7a3296
-		vc->vc_top = logo_lines;
Jesse Keating 7a3296
+	if (logo_shown != FBCON_LOGO_DONTSHOW) {
Jesse Keating 7a3296
+		if (logo_lines > vc->vc_bottom) {
Jesse Keating 7a3296
+			logo_shown = FBCON_LOGO_CANSHOW;
Jesse Keating 7a3296
+			printk(KERN_INFO
Jesse Keating 7a3296
+			       "fbcon_init: disable boot-logo (boot-logo bigger than screen).\n");
Jesse Keating 7a3296
+		} else {
Jesse Keating 7a3296
+			logo_shown = FBCON_LOGO_DRAW;
Jesse Keating 7a3296
+			vc->vc_top = logo_lines;
Jesse Keating 7a3296
+		}
Jesse Keating 7a3296
 	}
Jesse Keating 7a3296
 }
Jesse Keating 7a3296
 #endif /* MODULE */
f046ab
@@ -3624,6 +3626,14 @@ static int __init fb_console_init(void)
Jesse Keating 7a3296
 	return 0;
Jesse Keating 7a3296
 }
Jesse Keating 7a3296
 
Jesse Keating 7a3296
+static int __init quiet_logo(char *str)
Jesse Keating 7a3296
+{
Jesse Keating 7a3296
+	logo_shown = FBCON_LOGO_DONTSHOW;
Jesse Keating 7a3296
+	return 0;
Jesse Keating 7a3296
+}
Jesse Keating 7a3296
+
Jesse Keating 7a3296
+early_param("quiet", quiet_logo);
Jesse Keating 7a3296
+
98a08a
 fs_initcall(fb_console_init);
Jesse Keating 7a3296
 
Jesse Keating 7a3296
 #ifdef MODULE
dbc4a9
-- 
c47527
2.1.0
dbc4a9