summaryrefslogtreecommitdiffstats
tag namepatchset/cons-font-info/v1.0/cover (d8ebd48448be99564e9ed36ad4476c3868de1523)
tag date2024-03-04 15:50:33 +0100
tagged byAlexey Gladkov <legion@kernel.org>
tagged objectcommit 4a7bbe7519...
downloadlinux-patchset/cons-font-info/v1.0/cover.tar.gz
VT: Add ability to get font requirements
We now have KD_FONT_OP_SET_TALL, but in fact such large fonts cannot be loaded. No console driver supports tall fonts. Unfortunately, userspace cannot distinguish the lack of support in the driver from errors in the font itself. In all cases, EINVAL will be returned. This patchset adds a separate ioctl to obtain the font parameters supported by the console driver. v3: * Added the use of the in_range macro. * Squashed the commits that add ioctl to console divers. v2: * Instead of the KDFONTOP extension, a new ioctl has been added to obtain font information. ---