From patchwork Tue Mar 7 16:16:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anatolij Gustschin X-Patchwork-Id: 1753344 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=denx.de header.i=@denx.de header.a=rsa-sha256 header.s=phobos-20191101 header.b=Q1XEJ0CN; dkim=pass (2048-bit key) header.d=denx.de header.i=@denx.de header.a=rsa-sha256 header.s=phobos-20191101 header.b=GUWW5s9c; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4PWLF01YM0z1yWx for ; Wed, 8 Mar 2023 03:17:04 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9471985B81; Tue, 7 Mar 2023 17:16:52 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1678205812; bh=N0a7/lQKTGx3zETSK36YWAE8TdTjILVWoKYiMHjjBxM=; h=Date:From:To:Cc:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=Q1XEJ0CNJs/Xj9mg6ceKkZGByH+sVYw7Wgv2R3Zz0k6XFuA9pel0q9TAUCkNBe+dJ pWhXYZHt7IorbVy5VXmDqRPNUiQ6eL4SbDJVIiyKSgZkCfqnhqmRkw4jWo7RLMSK9a VfZmQm1sU1oxaLA3NzYhW8imm2E6C//9Wm3wnTx98PnmIUL1a/aHxzRfn5hD9Ady/7 wW/XtSEcJtv9/FJ3NxL+4eXt/T5olze145FZx+XugH9NiKVpeiHocuRbuGNRJ2rSnt H7ivpMWbBjvstODf7m4FZmUlVd5Kmqnu+GPhOt+7OpovLlyc49jmPh9rLb/+NHaSbz 6jXjaEbxWLuNw== Received: from crub (p508b636f.dip0.t-ipconnect.de [80.139.99.111]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: agust@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 504EE85B7A; Tue, 7 Mar 2023 17:16:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1678205810; bh=N0a7/lQKTGx3zETSK36YWAE8TdTjILVWoKYiMHjjBxM=; h=Date:From:To:Cc:Subject:From; b=GUWW5s9cZi6x+lVwDiHCtwMRPwA7RlBgSQQKZmEUvNGMx6BChzDRCKhDzbE+hs8vs v30AfOwoAtmq1Ce0RLWjQPTMTeQMTATC5FT8I73xlooW0y1461J4QBm0fAbpGz/p1l Yl4XovjGHVYvsiqH0iT4a8kusP/ZedOxX0dVHt+kzPrBPZfpK1sgdvcu0oypA5KPiC /6coEKnvU2adcauyXevXtQR9mf3iE7mlKAcejlaIBriOmxFQ0Mnsxvp7OQ/OC8PvR9 i/2u/qdCA1obTBmO7PuImjERdzCNI85UG9LmMCpZ1yShhUpk4x691Ogi954bFNMJ+b ZIVcgdH2iMV8w== Date: Tue, 7 Mar 2023 17:16:49 +0100 From: Anatolij Gustschin To: Tom Rini Cc: u-boot Subject: Please pull u-boot-video/next Message-ID: <20230307171649.0ef05dc5@crub> MIME-Version: 1.0 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.8 at phobos.denx.de X-Virus-Status: Clean Hi Tom, please pull video patches for next. CI: https://source.denx.de/u-boot/custodians/u-boot-video/-/pipelines/15482 Thanks, Anatolij The following changes since commit d1653548d29959a6ea6b4037a00b48a28257e6e6: Merge branch '2023-03-02-kconfig-and-CONFIG-cleanups' into next (2023-03-03 12:48:23 -0500) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-video.git tags/next-20230307 for you to fetch changes up to 72471620e82758b6cbdb9f70d775c0c18b043794: video console: add 12x22 console simple font test (2023-03-07 16:00:18 +0100) ---------------------------------------------------------------- - video console refactoring and optimization - support for fonts wider than 1 byte - use named header for 8x16 font data - support multiple fonts configuration - move get_font_size() to truetype driver ops - support font size configuration at runtime - add 16x32 Terminus font from linux - add 12x22 Sun font from linux - add 12x22 console simple font test ---------------------------------------------------------------- Dzmitry Sankouski (10): video console: refactoring and optimization video console: add support for fonts wider than 1 byte video console: move 8x16 font data in named header video console: implement multiple fonts configuration video console: move vidconsole_get_font_size() logic to driver ops video console: allow font size configuration at runtime video console: add 12x22 Sun font from linux video console: add 16x32 Terminus font from linux video console: sandbox: add 12x22 font defconfigs video console: add 12x22 console simple font test cmd/Kconfig | 8 + cmd/Makefile | 2 +- cmd/font.c | 6 +- common/splash.c | 8 +- configs/sandbox_defconfig | 1 + configs/sandbox_flattree_defconfig | 1 + drivers/video/Kconfig | 30 + drivers/video/Makefile | 6 + drivers/video/console_core.c | 212 ++ drivers/video/console_normal.c | 177 +- drivers/video/console_rotate.c | 371 +-- drivers/video/console_truetype.c | 3 +- drivers/video/vidconsole-uclass.c | 11 + drivers/video/vidconsole_internal.h | 120 + include/video_console.h | 17 +- include/video_font.h | 31 +- include/video_font_4x6.h | 11 +- include/video_font_8x16.h | 4624 ++++++++++++++++++++++++++ include/video_font_data.h | 4644 +------------------------- include/video_font_sun12x22.h | 6158 +++++++++++++++++++++++++++++++++++ include/video_font_ter16x32.h | 2062 ++++++++++++ test/cmd/font.c | 13 +- test/dm/video.c | 41 + 23 files changed, 13513 insertions(+), 5044 deletions(-) create mode 100644 drivers/video/console_core.c create mode 100644 drivers/video/vidconsole_internal.h create mode 100644 include/video_font_8x16.h create mode 100644 include/video_font_sun12x22.h create mode 100644 include/video_font_ter16x32.h