linux_dsm_epyc7002/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 Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
dummycon.c [PATCH] tty: Remove include of screen_info.h from tty.h 2006-07-10 13:24:16 -07:00
fbcon_ccw.c [PATCH] fbcon:: make 3 functions static 2006-10-03 08:04:12 -07:00
fbcon_cw.c [PATCH] fbcon:: make 3 functions static 2006-10-03 08:04:12 -07:00
fbcon_rotate.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
fbcon_rotate.h [PATCH] fbcon: Code cleanups 2006-01-10 08:01:51 -08:00
fbcon_ud.c [PATCH] fbcon:: make 3 functions static 2006-10-03 08:04:12 -07:00
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 [PATCH] fbcon: constify font data 2005-09-13 08:22:32 -07:00
font_7x14.c [PATCH] fbcon: constify font data 2005-09-13 08:22:32 -07:00
font_8x8.c [PATCH] fbcon: constify font data 2005-09-13 08:22:32 -07:00
font_8x16.c [PATCH] fbcon: constify font data 2005-09-13 08:22:32 -07:00
font_10x18.c [PATCH] fbcon: constify font data 2005-09-13 08:22:32 -07:00
font_acorn_8x8.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
font_mini_4x6.c [PATCH] fbcon: constify font data 2005-09-13 08:22:32 -07:00
font_pearl_8x8.c [PATCH] fbcon: constify font data 2005-09-13 08:22:32 -07:00
font_sun8x16.c [PATCH] fbcon: constify font data 2005-09-13 08:22:32 -07:00
font_sun12x22.c [PATCH] fbcon: constify font data 2005-09-13 08:22:32 -07:00
fonts.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
Kconfig video: Disable vgacon for SuperH. 2006-09-27 13:20:22 +09:00
Makefile Revert "[PATCH] fbcon: Add rl (Roman Large) font" 2005-11-12 10:14:02 -08:00
mdacon.c vt: add color support to the "underline" and "italic" attributes 2007-05-08 11:15:27 -07:00
newport_con.c [PATCH] vt: Remove VT-specific declarations and definitions from tty.h 2006-07-10 13:24:16 -07:00
prom.uni Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
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 Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
tileblit.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
vgacon.c vt-add-color-support-to-the-underline-and-italic-attributes-fix 2007-05-08 11:15:27 -07:00