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 <[email protected]>
---
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 <[email protected]>
I've added the series to my (upcoming) for-next git tree.
Thanks!
Helge