Re: [Patch 3/9]: Replace scr_readw/writew by scr_readg/writeg, etc
From: Alan Mackenzie
Date: Sat Aug 29 2026 - 09:34:11 EST
On Sat, Aug 29, 2026 at 14:11:00 +0200, Greg Kroah-Hartman wrote:
> On Thu, Aug 27, 2026 at 06:47:05PM +0000, Alan Mackenzie wrote:
> > vt: 32b glyph: 3. replace scr_readw/writew by scr_readg/writeg, etc.
> I don't understand these lines in your patches, where are they from and
> what are they for?
scr_readg and scr_writeg read and write an entire glyph, regardless of
whether that glyph is 16-bit or 32-bit. The latter is determined by the
setting of CONFIG_FB_GLYPH_21BIT.
This is the main complication in these patches; having to cope with both
sizes of glyph, for backward compatibility, rather than just switching
to 32-bit glyphs.
> thanks,
> greg k-h
--
Alan Mackenzie (Nuremberg, Germany).