On Sun, 9 Jan 2022 at 17:57, Andre Przywara <andre.przyw...@arm.com> wrote: > > Currently the DM_VIDEO console only supports bitmap fonts with up to > 8 pixels wide glyphs. Add support for fonts with glyphs up to 32 pixels > wide, as those might prove useful on high resolution screens. > > This is done by expanding the glyph bits buffer to 32bits, and aligning > the font data to the high bits, counting down from there. The compiler > should optimise away any unneeded accesses for narrower fonts. > > Signed-off-by: Andre Przywara <andre.przyw...@arm.com> > --- > drivers/video/console_normal.c | 25 ++++++++++++++++++++----- > 1 file changed, 20 insertions(+), 5 deletions(-) >
Reviewed-by: Simon Glass <s...@chromium.org>