VT: Bump font size limitation to 64x128 pixels
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Thu, 19 Jan 2023 15:19:17 +0000 (16:19 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jan 2023 15:29:01 +0000 (16:29 +0100)
commit05e2600cb0a4d73b0779cf29512819616252aeeb
tree5760497fb786f9b75828776ed0a73295298931d5
parent24d69384bcd34b9dcaf5dab744bf7096e84d1abd
VT: Bump font size limitation to 64x128 pixels

This moves 32x32 font size limitation checking down to drivers, so that
fbcon can allow large fonts.

We still keep a limitation to 64x128 pixels so as to have a simple bounded
allocation for con_font_get and in the userland kbd tool. That glyph size
will however be enough to have 128x36 characters on a "16/9 8K display".

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Link: https://lore.kernel.org/r/20230119151935.112415738@ens-lyon.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/vt/vt.c
drivers/video/console/vgacon.c
drivers/video/fbdev/core/fbcon.c