Skip to content

video: improve UEFI experience on DM_VIDEO

Andre Przywara u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8video: Add cursor support for DM_VIDEO consolesdrivers/video/console_normal.c drivers/video/vidconsole-uclass.c include/video_console.h+44 -03 replies
2/8video: vidconsole: Support wider bitmap fontsdrivers/video/console_normal.c+20 -51 reply
3/8video: Kconfig: convert CONFIG_VIDEO_FONT_4X6 to Kconfigdrivers/video/fonts/Kconfig include/video_font_4x6.h scripts/config_whitelist.txt+13 -21 reply
4/8video: Add sun12x22 framebuffer frontdrivers/video/fonts/Kconfig include/video_font.h include/video_font_sun12x22.h+6170 -01 reply
5/8video: Add Terminus 16x32 fontdrivers/video/fonts/Kconfig include/video_font.h include/video_font_ter16x32.h+2074 -01 reply
6/8efi-selftest: Add international characters testlib/efi_selftest/efi_selftest_textoutput.c+5 -01 reply
7/8efi_selftest: Add box drawing character selftestlib/efi_selftest/efi_selftest_textoutput.c+11 -02 replies
8/8video: Convert UTF-8 input stream to the 437 code pagedrivers/video/Makefile drivers/video/utf8_cp437.c drivers/video/vidconsole-uclass.c +1 more+184 -13 replies

Reviews trailers per patch

5 of 8 patches have a Reviewed-by or Acked-by.

PatchSimon Glass
1/8R-b T-b
2/8R-b
3/8R-b
4/8R-b
5/8R-b
6/8
7/8
8/8

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/8] video: improve UEFI experience on DM_VIDEO

While U-Boot supported graphical output on monitors for ages, the actual user experience on the DM_VIDEO console is somewhat lacking, especially when UEFI applications use the screen via boot services.

This series fixes some of the shortcomings:
- Patch 1 includes a rudimentary cursor output, which so far was completely missing from the (DM_VIDEO) console.
- Patches 2-5 add support for larger bitmap fonts, which are helpful on high resolution screens as found on modern laptops, for instance. These also pull in two larger bitmaps fonts from the Linux kernel.
- Patches 6-8 fix the display of those fonts when used by UEFI applications, which assume Unicode encoding. Beside the actual mapping function this also adds some EFI selftests, which would need to be verifed manually on the screen.

The last three patches are somewhat less refined, they probably require some more discussion.

Please have a look!

Cheers,
Andre

Andre Przywara (8):
video: Add cursor support for DM_VIDEO consoles
video: vidconsole: Support wider bitmap fonts
video: Kconfig: convert CONFIG_VIDEO_FONT_4X6 to Kconfig
video: Add sun12x22 framebuffer front
video: Add Terminus 16x32 font
efi-selftest: Add international characters test
efi_selftest: Add box drawing character selftest
video: Convert UTF-8 input stream to the 437 code page

 drivers/video/Makefile                     |    1 +
 drivers/video/console_normal.c             |   26 +-
 drivers/video/fonts/Kconfig                |   18 +
 drivers/video/utf8_cp437.c                 |  169 +
 drivers/video/vidconsole-uclass.c          |   48 +-
 include/video_console.h                    |   10 +
 include/video_font.h                       |    4 +
 include/video_font_4x6.h                   |    2 +-
 include/video_font_sun12x22.h              | 6165 ++++++++++++++++++++
 include/video_font_ter16x32.h              | 2069 +++++++
 lib/efi_selftest/efi_selftest_textoutput.c |   16 +
 scripts/config_whitelist.txt               |    1 -
 12 files changed, 8521 insertions(+), 8 deletions(-)
 create mode 100644 drivers/video/utf8_cp437.c
 create mode 100644 include/video_font_sun12x22.h
 create mode 100644 include/video_font_ter16x32.h
Signature · 1 line
2.17.6