2014-08-20 17:22:24 +00:00
|
|
|
From: "kernel-team@fedoraproject.org" <kernel-team@fedoraproject.org>
|
|
|
|
Date: Thu, 29 Jul 2010 16:46:31 -0700
|
|
|
|
Subject: [PATCH] silence fbcon logo
|
|
|
|
|
2013-12-17 16:16:02 +00:00
|
|
|
Bugzilla: N/A
|
|
|
|
Upstream-status: Fedora mustard
|
2014-08-20 17:22:24 +00:00
|
|
|
---
|
|
|
|
drivers/video/console/fbcon.c | 24 +++++++++++++++++-------
|
|
|
|
1 file changed, 17 insertions(+), 7 deletions(-)
|
2013-12-17 16:16:02 +00:00
|
|
|
|
2010-07-29 23:46:31 +00:00
|
|
|
diff --git a/drivers/video/console/fbcon.c b/drivers/video/console/fbcon.c
|
2015-01-05 21:09:49 +00:00
|
|
|
index ea437245562e..eefa9c45d2e1 100644
|
2010-07-29 23:46:31 +00:00
|
|
|
--- a/drivers/video/console/fbcon.c
|
|
|
|
+++ b/drivers/video/console/fbcon.c
|
2014-11-03 15:15:39 +00:00
|
|
|
@@ -637,13 +637,15 @@ static void fbcon_prepare_logo(struct vc_data *vc, struct fb_info *info,
|
2010-07-29 23:46:31 +00:00
|
|
|
kfree(save);
|
|
|
|
}
|
|
|
|
|
|
|
|
- if (logo_lines > vc->vc_bottom) {
|
|
|
|
- logo_shown = FBCON_LOGO_CANSHOW;
|
|
|
|
- printk(KERN_INFO
|
|
|
|
- "fbcon_init: disable boot-logo (boot-logo bigger than screen).\n");
|
|
|
|
- } else if (logo_shown != FBCON_LOGO_DONTSHOW) {
|
|
|
|
- logo_shown = FBCON_LOGO_DRAW;
|
|
|
|
- vc->vc_top = logo_lines;
|
|
|
|
+ if (logo_shown != FBCON_LOGO_DONTSHOW) {
|
|
|
|
+ if (logo_lines > vc->vc_bottom) {
|
|
|
|
+ logo_shown = FBCON_LOGO_CANSHOW;
|
|
|
|
+ printk(KERN_INFO
|
|
|
|
+ "fbcon_init: disable boot-logo (boot-logo bigger than screen).\n");
|
|
|
|
+ } else {
|
|
|
|
+ logo_shown = FBCON_LOGO_DRAW;
|
|
|
|
+ vc->vc_top = logo_lines;
|
|
|
|
+ }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#endif /* MODULE */
|
2014-11-03 15:15:39 +00:00
|
|
|
@@ -3624,6 +3626,14 @@ static int __init fb_console_init(void)
|
2010-07-29 23:46:31 +00:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
+static int __init quiet_logo(char *str)
|
|
|
|
+{
|
|
|
|
+ logo_shown = FBCON_LOGO_DONTSHOW;
|
|
|
|
+ return 0;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+early_param("quiet", quiet_logo);
|
|
|
|
+
|
2015-01-05 21:09:49 +00:00
|
|
|
fs_initcall(fb_console_init);
|
2010-07-29 23:46:31 +00:00
|
|
|
|
|
|
|
#ifdef MODULE
|
2014-08-20 17:22:24 +00:00
|
|
|
--
|
2014-12-09 14:25:39 +00:00
|
|
|
2.1.0
|
2014-08-20 17:22:24 +00:00
|
|
|
|