From: Helge Deller <deller@gmx.de>
To: Thomas Zimmermann <tzimmermann@suse.de>, simona@ffwll.ch
Cc: dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org
Subject: Re: [PATCH v2 1/6] fbcon: Use unsigned char for glyph data
Date: Sat, 21 Nov 2026 18:37:10 +0100 [thread overview]
Message-ID: <8c261690-a840-4713-905b-51b6dc51aedc@gmx.de> (raw)
In-Reply-To: <20261120115215.52092-2-tzimmermann@suse.de>
On 11/20/26 12:49, Thomas Zimmermann wrote:
> Represent glyph data as unsigned char, as done by font_data_t. Convert
> all related code. Also declare source buffers with glyph data as const
> because internal fonts reside in read-only memory. Avoid writing them.
>
> We still use char for glyph data in struct fb_image. The type is part
> of the kernel uAPI and therefore cannot be changed. Fall back to type
> casting in this case.
>
> Destination buffers for font drawing are still u8. This is framebuffer
> memory provided by graphics hardware.
>
> Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
> ---
> drivers/video/fbdev/core/bitblit.c | 25 ++++++++++++++-----------
> drivers/video/fbdev/core/fbcon.h | 4 ++--
> drivers/video/fbdev/core/fbcon_ccw.c | 22 ++++++++++++----------
> drivers/video/fbdev/core/fbcon_cw.c | 22 ++++++++++++----------
> drivers/video/fbdev/core/fbcon_ud.c | 28 +++++++++++++++-------------
> 5 files changed, 55 insertions(+), 46 deletions(-)
For the whole series:
Reviewed-by: Helge Deller <deller@gmx.de>
I've added the series to my (upcoming) for-next git tree.
Thanks!
Helge
next prev parent reply other threads:[~2026-11-21 17:37 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-20 11:49 [PATCH v2 0/6] fbcon: Clean up glyph handling on redraws Thomas Zimmermann
2026-11-20 11:49 ` [PATCH v2 1/6] fbcon: Use unsigned char for glyph data Thomas Zimmermann
2026-11-21 17:37 ` Helge Deller [this message]
2026-11-23 10:11 ` Thomas Zimmermann
2026-11-20 11:49 ` [PATCH v2 2/6] lib/fonts: Provide internal helpers for allocating font_data_t Thomas Zimmermann
2026-11-20 11:49 ` [PATCH v2 3/6] lib/fonts, fbcon: Use font_data_t for rotated fonts Thomas Zimmermann
2026-11-20 11:49 ` [PATCH v2 4/6] fbcon: Refactor size calculation for cursor buffers Thomas Zimmermann
2026-11-20 11:49 ` [PATCH v2 5/6] fbcon: Look up glyphs using the font interface Thomas Zimmermann
2026-11-20 11:49 ` [PATCH v2 6/6] fbcon: Handle characters with no glyph defined in a consistent way Thomas Zimmermann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8c261690-a840-4713-905b-51b6dc51aedc@gmx.de \
--to=deller@gmx.de \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-fbdev@vger.kernel.org \
--cc=simona@ffwll.ch \
--cc=tzimmermann@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox