Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 30625C433EF for ; Mon, 10 Jan 2022 00:57:19 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B1D5181951; Mon, 10 Jan 2022 01:57:16 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=arm.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id ABDB581221; Mon, 10 Jan 2022 01:57:13 +0100 (CET) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by phobos.denx.de (Postfix) with ESMTP id B250580F78 for ; Mon, 10 Jan 2022 01:57:10 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=andre.przywara@arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 000CF2B; Sun, 9 Jan 2022 16:57:09 -0800 (PST) Received: from localhost.localdomain (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id A22C43F774; Sun, 9 Jan 2022 16:57:08 -0800 (PST) From: Andre Przywara To: Anatolij Gustschin Cc: Simon Glass , Tom Rini , Heinrich Schuchardt , Alexander Graf , Mark Kettenis , u-boot@lists.denx.de Subject: [PATCH 0/8] video: improve UEFI experience on DM_VIDEO Date: Mon, 10 Jan 2022 00:56:30 +0000 Message-Id: <20220110005638.21599-1-andre.przywara@arm.com> X-Mailer: git-send-email 2.14.1 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean 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 -- 2.17.6