[PATCH 0/7] fbdev: Split off code for boot-up logo

From: Thomas Zimmermann
Date: Tue Aug 29 2023 - 10:22:22 EST


The boot-up logo is a feature of the fbcon console; with only a few
external callers. Move it from the core fbdev code into its own file.

Patches 1 and 2 remove the logo setup from fbdev drivers. The logo
requires a configured output, which is provided by the framebuffer
console. Drivers should not implement their own logo.

Patches 3 to 6 move the code for the boot-up logo into its own file
and add a number of simple cleanups. It's now separate from the core
fbdev code that maintains the display framebuffers.

Patch 7 then removes a number of unecessary include statements from
fbmem.c.

Thomas Zimmermann (7):
fbdev/au1200fb: Do not display boot-up logo
fbdev/mmp/mmpfb: Do not display boot-up logo
fbdev/core: Fix style of code for boot-up logo
fbdev/core: Move logo functions into separate source file
fbdev/core: Build fb_logo iff CONFIG_LOGO has been selected
fbdev/core: Remove empty internal helpers from fb_logo.c
fbdev/core: Clean up include statements in fbmem.c

drivers/video/fbdev/au1200fb.c | 9 -
drivers/video/fbdev/core/Makefile | 2 +
drivers/video/fbdev/core/fb_internal.h | 17 +
drivers/video/fbdev/core/fb_logo.c | 509 +++++++++++++++++++++++
drivers/video/fbdev/core/fbcon.c | 4 +
drivers/video/fbdev/core/fbmem.c | 542 +------------------------
drivers/video/fbdev/mmp/fb/mmpfb.c | 7 -
include/linux/fb.h | 5 -
8 files changed, 533 insertions(+), 562 deletions(-)
create mode 100644 drivers/video/fbdev/core/fb_logo.c

--
2.41.0