diff options
author | Dave Young <dyoung@redhat.com> | 2020-04-12 04:49:27 +0200 |
---|---|---|
committer | Ard Biesheuvel <ardb@kernel.org> | 2020-05-12 12:29:45 +0200 |
commit | 8f592ada59b321d248391bae175cd78a12972223 (patch) | |
tree | 05cdacbaa20324925f3b37e32ef4e6e4f26f71e0 /drivers/firmware/efi/libstub/x86-stub.c | |
parent | efi/libstub: Avoid returning uninitialized data from setup_graphics() (diff) | |
download | linux-8f592ada59b321d248391bae175cd78a12972223.tar.xz linux-8f592ada59b321d248391bae175cd78a12972223.zip |
efi/earlycon: Fix early printk for wider fonts
When I play with terminus fonts I noticed the efi early printk does
not work because the earlycon code assumes font width is 8.
Here add the code to adapt with larger fonts. Tested with all kinds
of kernel built-in fonts on my laptop. Also tested with a local draft
patch for 14x28 !bold terminus font.
Signed-off-by: Dave Young <dyoung@redhat.com>
Link: https://lore.kernel.org/r/20200412024927.GA6884@dhcp-128-65.nay.redhat.com
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'drivers/firmware/efi/libstub/x86-stub.c')
0 files changed, 0 insertions, 0 deletions