Commit 322a00ef authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Jocelyn Falempe
Browse files

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: f7b42442 ("drm/log: Introduce a new boot logger to draw the kmsg on the screen")
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Reviewed-by: default avatarJocelyn Falempe <jfalempe@redhat.com>
Signed-off-by: default avatarJocelyn Falempe <jfalempe@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241212154003.1313437-1-arnd@kernel.org
parent fcf15fd8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -77,6 +77,7 @@ config DRM_CLIENT_LOG
	select DRM_CLIENT
	select DRM_CLIENT_SETUP
	select DRM_DRAW
	select FONT_SUPPORT
	help
	  This enable a drm logger, that will print the kernel messages to the
	  screen until the userspace is ready to take over.
+1 −1
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@ if FONT_SUPPORT

config FONTS
	bool "Select compiled-in fonts"
	depends on FRAMEBUFFER_CONSOLE || STI_CONSOLE || DRM_PANIC
	depends on FRAMEBUFFER_CONSOLE || STI_CONSOLE || DRM_PANIC || DRM_CLIENT_LOG
	help
	  Say Y here if you would like to use fonts other than the default
	  your frame buffer console usually use.