From: Thomas Zimmermann <tzimmermann@suse.de>
To: Helge Deller <deller@gmx.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: Mon, 23 Nov 2026 11:11:45 +0100 [thread overview]
Message-ID: <f1b416d8-b301-4523-afd3-1e3cf7876118@suse.de> (raw)
In-Reply-To: <8c261690-a840-4713-905b-51b6dc51aedc@gmx.de>
Hi
Am 21.11.26 um 18:37 schrieb Helge Deller:
> 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. The review bot found a few issues, so there might be an update
coming.
Best regards
Thomas
>
> Thanks!
> Helge
--
--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Frankenstr. 146, 90461 Nürnberg, Germany, www.suse.com
GF: Stefan Gaiser, Jochen Jaser, Abhinav Puri, (HRB 36809, AG Nürnberg)
next prev parent reply other threads:[~2026-11-23 10:11 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
2026-11-23 10:11 ` Thomas Zimmermann [this message]
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=f1b416d8-b301-4523-afd3-1e3cf7876118@suse.de \
--to=tzimmermann@suse.de \
--cc=deller@gmx.de \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-fbdev@vger.kernel.org \
--cc=simona@ffwll.ch \
/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