[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZL/+Bz5C2Mxx0Msw@gallifrey>
Date: Tue, 25 Jul 2023 16:53:27 +0000
From: "Dr. David Alan Gilbert" <linux@...blig.org>
To: Sam Ravnborg <sam@...nborg.org>
Cc: davem@...emloft.net, benh@...nel.crashing.org,
sparclinux@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] sparc: Use shared font data
* Sam Ravnborg (sam@...nborg.org) wrote:
> On Tue, Jul 25, 2023 at 12:58:51AM +0100, linux@...blig.org wrote:
> > From: "Dr. David Alan Gilbert" <linux@...blig.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. The PPC code and the functions
> > I'll look at another time if this patch is OK.
> >
> > Tested very lightly with a boot without FS in qemu.
> >
> > Signed-off-by: Dr. David Alan Gilbert <linux@...blig.org>
>
> Looks good, thanks for the fixes.
> Reviewed-by: Sam Ravnborg <sam@...nborg.org>
Thanks
> Let's hope someone picks it up...
I was hoping Dave would, but I realise Sparc doesn't get much
these days.
Of course if anyone feels guilty about their own patches adding code
they can take this patch to make ~340 lines of penance.
Dave
> Sam
--
-----Open up your eyes, open up your mind, open up your code -------
/ Dr. David Alan Gilbert | Running GNU/Linux | Happy \
\ dave @ treblig.org | | In Hex /
\ _________________________|_____ http://www.treblig.org |_______/
Powered by blists - more mailing lists