summaryrefslogtreecommitdiff
path: root/drivers/firmware/raspberrypi.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2023-01-19 18:19:15 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-01-19 18:28:56 +0300
commitffc1e089725e3f8a15ddfdce283db42f7d0fa147 (patch)
treea12ea38b9de91ce77840411df3cb247537e6101a /drivers/firmware/raspberrypi.c
parente34a79d0b320ea8248e1ee3482eb5c388a27d303 (diff)
downloadlinux-ffc1e089725e3f8a15ddfdce283db42f7d0fa147.tar.xz
VT: Add height parameter to con_font_get/set consw operations
The current con_font_get/set API currently hardcodes a 32-pixel-tall limitation, which only dates from the old VGA hardware which could not handle taller fonts than that. This change just adds a vpitch parameter to release this constraint. Drivers which do not support vpitch != 32 can just return EINVAL when it is not 32, font loading tools will revert to trying 32 and succeed. This change makes the fbcon driver consider vpitch appropriately, thus making it able to load large fonts. Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> Link: https://lore.kernel.org/r/20230119151934.932642243@ens-lyon.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/firmware/raspberrypi.c')
0 files changed, 0 insertions, 0 deletions