lkml.org 
[lkml]   [2023]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v3] sparc: Use shared font data
From


On 8/6/23 18:09, linux@treblig.org wrote:
> From: "Dr. David Alan Gilbert" <linux@treblig.org>
>
> sparc has a 'btext' font used for the console which is almost identical
> to the shared font_sun8x16, so use it rather than duplicating the data.
>
> They were actually identical until about a decade ago when
> commit bcfbeecea11c ("drivers: console: font_: Change a glyph from
> "broken bar" to "vertical line"")
>
> which changed the | in the shared font to be a solid
> bar rather than a broken bar. That's the only difference.
>
> This was originally spotted by PMD which noticed that PPC does
> the same thing with the same data, and they also share a bunch
> of functions to manipulate the data.
>
> Tested very lightly with a boot without FS in qemu.
>
> Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>

This survives lots of build testing with no problems, so

Acked-by: Randy Dunlap <rdunlap@infradead.org>

Thanks.

>
> v3
> Added 'select FONT_SUPPORT' (to stop modconfig causing the font to be
> linked into a module rather than the main kernel)
>
> ---
> arch/sparc/Kconfig | 2 +
> arch/sparc/kernel/btext.c | 365 +-------------------------------------
> 2 files changed, 11 insertions(+), 356 deletions(-)

--
~Randy

\
 
 \ /
  Last update: 2023-08-08 21:56    [W:0.132 / U:0.700 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site