summaryrefslogtreecommitdiff
path: root/drivers/video/fbdev/core/cfbimgblt.c
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2022-03-13 20:29:51 +0100
committerDave Airlie <airlied@redhat.com>2022-03-25 09:55:52 +1000
commit40faaf80c463b2c99a0351d28bd74d75d64ed017 (patch)
treeac30af48895176dea45e7beb3475b85d40c50c88 /drivers/video/fbdev/core/cfbimgblt.c
parentc73c3576a2227492b448f9be41428ce6a0b5855a (diff)
fbdev: Fix sys_imageblit() for arbitrary image widths
Commit 6f29e04938bf ("fbdev: Improve performance of sys_imageblit()") broke sys_imageblit() for image width that are not aligned to 8-bit boundaries. Fix this by handling the trailing pixels on each line separately. The performance improvements in the original commit do not regress by this change. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Fixes: 6f29e04938bf ("fbdev: Improve performance of sys_imageblit()") Cc: Thomas Zimmermann <tzimmermann@suse.de> Cc: Javier Martinez Canillas <javierm@redhat.com> Cc: Sam Ravnborg <sam@ravnborg.org> Tested-by: Geert Uytterhoeven <geert@linux-m68k.org> Reviewed-by: Javier Martinez Canillas <javierm@redhat.com> Signed-off-by: Dave Airlie <airlied@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220313192952.12058-2-tzimmermann@suse.de
Diffstat (limited to 'drivers/video/fbdev/core/cfbimgblt.c')
0 files changed, 0 insertions, 0 deletions