linux-next/lib/fonts
Geert Uytterhoeven a03a84bee3 lib/fonts: Fix visiblity of SUN12x22 and TER16x32 if DRM_PANIC
When CONFIG_FONTS ("Select compiled-in fonts") is not enabled, the user
should not be asked about any fonts.  However, when CONFIG_DRM_PANIC is
enabled, the user is still asked about the Sparc console 12x22 and
Terminus 16x32 fonts.

Fix this by moving the "|| DRM_PANIC" to where it belongs.
Split the dependency in two rules to improve readability.

Fixes: b94605a388 ("lib/fonts: Allow to select fonts for drm_panic")
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/ac474c6755800e61e18bd5af407c6acb449c5149.1718305355.git.geert+renesas@glider.be
2024-06-24 13:18:02 +02:00
..
font_6x8.c Fonts: Add charcount field to font_desc 2020-11-16 16:31:41 +01:00
font_6x10.c Fonts: Add charcount field to font_desc 2020-11-16 16:31:41 +01:00
font_6x11.c Fonts: Add charcount field to font_desc 2020-11-16 16:31:41 +01:00
font_7x14.c Fonts: Add charcount field to font_desc 2020-11-16 16:31:41 +01:00
font_8x8.c Fonts: Add charcount field to font_desc 2020-11-16 16:31:41 +01:00
font_8x16.c Fonts: Add charcount field to font_desc 2020-11-16 16:31:41 +01:00
font_10x18.c Fonts: Add charcount field to font_desc 2020-11-16 16:31:41 +01:00
font_acorn_8x8.c Fonts: Add charcount field to font_desc 2020-11-16 16:31:41 +01:00
font_mini_4x6.c Fonts: Add charcount field to font_desc 2020-11-16 16:31:41 +01:00
font_pearl_8x8.c lib: fix spelling mistakes 2021-07-08 11:48:20 -07:00
font_sun8x16.c Fonts: Add charcount field to font_desc 2020-11-16 16:31:41 +01:00
font_sun12x22.c Fonts: Add charcount field to font_desc 2020-11-16 16:31:41 +01:00
font_ter16x32.c Fonts: font_ter16x32: Update font with new upstream Terminus release 2021-01-07 21:06:25 +01:00
fonts.c fbcon: Increase maximum font width x height to 64 x 128 2024-03-16 08:29:48 +01:00
Kconfig lib/fonts: Fix visiblity of SUN12x22 and TER16x32 if DRM_PANIC 2024-06-24 13:18:02 +02:00
Makefile lib/fonts: add font 6x8 for OLED display 2020-09-08 13:33:21 +02:00