android_kernel_xiaomi_sm8350/drivers/video/console
Antonino A. Daplas 70802c6037 fbdev: don't show logo if driver or fbcon are modular
It was always intended for the logo to be drawn only if both fbcon and the
driver that is mapped to it are both compiled statically.  Currently, if fbcon
is loaded prior to the driver, the logo is not shown.  Reverse the order, and
the code may attempt to draw the logo which is __initdata.  By accident, this
bug is rarely seen because this method of loading the modules is not common
and secondly, a code in fb_prepare_logo() that checks the height of the logo
(now a random value) rarely succeeds.

Fix by drawing the logo only if both fbcon and the driver are statically
compiled.

Signed-off-by: Antonino Daplas <adaplas@gmail.com>
Cc:  Jean Delvare <khali@linux-fr.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-05-08 11:15:28 -07:00
..
bitblit.c
dummycon.c
fbcon_ccw.c
fbcon_cw.c
fbcon_rotate.c
fbcon_rotate.h
fbcon_ud.c
fbcon.c fbdev: don't show logo if driver or fbcon are modular 2007-05-08 11:15:28 -07:00
fbcon.h [PATCH] fbdev modedb: make more pointer parameters const 2007-02-12 09:48:44 -08:00
font_6x11.c
font_7x14.c
font_8x8.c
font_8x16.c
font_10x18.c
font_acorn_8x8.c
font_mini_4x6.c
font_pearl_8x8.c
font_sun8x16.c
font_sun12x22.c
fonts.c
Kconfig
Makefile
mdacon.c vt: add color support to the "underline" and "italic" attributes 2007-05-08 11:15:27 -07:00
newport_con.c
prom.uni
promcon.c vt: add color support to the "underline" and "italic" attributes 2007-05-08 11:15:27 -07:00
softcursor.c [PATCH] softcursor.c: avoid unaligned accesses 2006-12-08 08:29:07 -08:00
sticon.c vt: add color support to the "underline" and "italic" attributes 2007-05-08 11:15:27 -07:00
sticore.c
tileblit.c
vgacon.c vt-add-color-support-to-the-underline-and-italic-attributes-fix 2007-05-08 11:15:27 -07:00