OpenCloudOS-Kernel/drivers/video/console
Peilin Ye 4497364e5f parisc/sticore: Avoid hard-coding built-in font charcount
sti_select_fbfont() and sti_cook_fonts() are hard-coding the number of
characters of our built-in fonts as 256. Recently, we included that
information in our kernel font descriptor `struct font_desc`, so use
`fbfont->charcount` instead of hard-coded values.

Depends on patch "Fonts: Add charcount field to font_desc".

Signed-off-by: Peilin Ye <yepeilin.cs@gmail.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/037186fb50cf3d17bb7bc9482357635b9df6076e.1605169912.git.yepeilin.cs@gmail.com
2020-11-16 16:31:58 +01:00
..
Kconfig parisc/sticon: Add user font support 2020-10-15 08:12:59 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
dummycon.c console: Delete dummy con_font_set() and con_font_default() callback implementations 2020-11-16 16:31:09 +01:00
mdacon.c vt: use newly defined CUR_* macros 2020-06-24 17:08:33 +02:00
newport_con.c TTY/Serial patches for 5.10-rc1 2020-10-14 16:05:52 -07:00
sticon.c parisc/sticon: Add user font support 2020-10-15 08:12:59 +02:00
sticore.c parisc/sticore: Avoid hard-coding built-in font charcount 2020-11-16 16:31:58 +01:00
vgacon.c vgacon: remove software scrollback support 2020-09-14 10:06:15 -07:00