Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/log: select CONFIG_FONT_SUPPORT

Without fonts, this fails to link:

drivers/gpu/drm/clients/drm_log.o: in function `drm_log_init_client':
drm_log.c:(.text+0x3d4): undefined reference to `get_default_font'

Select this, like the other users do.

Fixes: f7b42442c4ac ("drm/log: Introduce a new boot logger to draw the kmsg on the screen")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com>
Signed-off-by: Jocelyn Falempe <jfalempe@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241212154003.1313437-1-arnd@kernel.org

authored by

Arnd Bergmann and committed by
Jocelyn Falempe
322a00ef fcf15fd8

+2 -1
+1
drivers/gpu/drm/clients/Kconfig
··· 77 77 select DRM_CLIENT 78 78 select DRM_CLIENT_SETUP 79 79 select DRM_DRAW 80 + select FONT_SUPPORT 80 81 help 81 82 This enable a drm logger, that will print the kernel messages to the 82 83 screen until the userspace is ready to take over.
+1 -1
lib/fonts/Kconfig
··· 10 10 11 11 config FONTS 12 12 bool "Select compiled-in fonts" 13 - depends on FRAMEBUFFER_CONSOLE || STI_CONSOLE || DRM_PANIC 13 + depends on FRAMEBUFFER_CONSOLE || STI_CONSOLE || DRM_PANIC || DRM_CLIENT_LOG 14 14 help 15 15 Say Y here if you would like to use fonts other than the default 16 16 your frame buffer console usually use.