Skip to content

fbdev: Fix image blitting for arbitrary image widths

Thomas Zimmermann dri-devel linux-fbdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2fbdev: Fix sys_imageblit() for arbitrary image widthsdrivers/video/fbdev/core/sysimgblt.c+25 -42 replies
2/2fbdev: Fix cfb_imageblit() for arbitrary image widthsdrivers/video/fbdev/core/cfbimgblt.c+24 -44 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchMarek SzyprowskiGeert UytterhoevenDaniel VetterJavier Martinez CanillasGuenter Roeck
1/2T-b R-b
2/2T-b A-b R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.

Read the v1 thread

Cover letter [PATCH 0/2] fbdev: Fix image blitting for arbitrary image widths

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(-)
Signature · 1 line
2.35.1