
Re-use the existing support for boot-up logos to draw a monochrome graphical logo in the DRM panic handler. When no suitable graphical logo is available, the code falls back to the ASCII art penguin logo. Note that all graphical boot-up logos are freed during late kernel initialization, hence a copy must be made for later use. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com> Signed-off-by: Jocelyn Falempe <jfalempe@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/3f1a5f56213f3e4584773eb2813e212b2dff6d14.1718305355.git.geert+renesas@glider.be
1.4 KiB
SPDX-License-Identifier: GPL-2.0-only
Logo configuration
menuconfig LOGO bool "Bootup logo" depends on FB_CORE || SGI_NEWPORT_CONSOLE help Enable and select frame buffer bootup logos. Monochrome logos will also be used by the DRM panic handler, if enabled.
if LOGO
config FB_LOGO_EXTRA bool depends on FB=y default y if SPU_BASE
config LOGO_LINUX_MONO bool "Standard black and white Linux logo" default y
config LOGO_LINUX_VGA16 bool "Standard 16-color Linux logo" default y
config LOGO_LINUX_CLUT224 bool "Standard 224-color Linux logo" default y
config LOGO_DEC_CLUT224 bool "224-color Digital Equipment Corporation Linux logo" depends on MACH_DECSTATION || ALPHA default y
config LOGO_MAC_CLUT224 bool "224-color Macintosh Linux logo" depends on MAC default y
config LOGO_PARISC_CLUT224 bool "224-color PA-RISC Linux logo" depends on PARISC default y
config LOGO_SGI_CLUT224 bool "224-color SGI Linux logo" depends on SGI_IP22 || SGI_IP27 || SGI_IP32 default y
config LOGO_SUN_CLUT224 bool "224-color Sun Linux logo" depends on SPARC default y
config LOGO_SUPERH_MONO bool "Black and white SuperH Linux logo" depends on SUPERH default y
config LOGO_SUPERH_VGA16 bool "16-color SuperH Linux logo" depends on SUPERH default y
config LOGO_SUPERH_CLUT224 bool "224-color SuperH Linux logo" depends on SUPERH default y
endif # LOGO