From 491f263ebfb338c59abfbde6d4e0e7256a0150fa Mon Sep 17 00:00:00 2001 From: Raul Munoz Date: Mon, 14 Jul 2014 13:43:42 +0200 Subject: fbcon: workaround full screen boot-logo issue Force round down in division calculating required logo height as preceding code did round up as follows: logo_lines = DIV_ROUND_UP(logo_height, vc->vc_font.height); Which resulted in no boot-logo shown at all due to not enough lines being available. --- drivers/video/console/fbcon.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'drivers') diff --git a/drivers/video/console/fbcon.c b/drivers/video/console/fbcon.c index 8745637e4b7e..39c7baad55d2 100644 --- a/drivers/video/console/fbcon.c +++ b/drivers/video/console/fbcon.c @@ -633,6 +633,9 @@ static void fbcon_prepare_logo(struct vc_data *vc, struct fb_info *info, kfree(save); } + /* workaround full screen boot-logo issue */ + logo_lines = logo_lines - 1; + if (logo_lines > vc->vc_bottom) { logo_shown = FBCON_LOGO_CANSHOW; printk(KERN_INFO -- cgit v1.2.3