[PATCH 0/2] fbdev: Fix image blitting for arbitrary image widths
Thomas Zimmermann
tzimmermann at suse.de
Sun Mar 13 19:29:50 UTC 2022
Recent optimization of the fbdev image-bitting helpers broke the code for
image width that do not align with multiples of 8. Both, sys and cfb, are
affected. Fix this problem by handling the trailing pixels on each line
separately.
Tested with simpledrm and the 7x14 font.
Thomas Zimmermann (2):
fbdev: Fix sys_imageblit() for arbitrary image widths
fbdev: Fix cfb_imageblit() for arbitrary image widths
drivers/video/fbdev/core/cfbimgblt.c | 28 +++++++++++++++++++++++----
drivers/video/fbdev/core/sysimgblt.c | 29 ++++++++++++++++++++++++----
2 files changed, 49 insertions(+), 8 deletions(-)
--
2.35.1
More information about the dri-devel
mailing list