diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2022-03-13 20:29:51 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2022-03-25 00:55:52 +0100 |
commit | 40faaf80c463b2c99a0351d28bd74d75d64ed017 (patch) | |
tree | ac30af48895176dea45e7beb3475b85d40c50c88 /.cocciconfig | |
parent | Merge tag 'drm-misc-next-fixes-2022-03-24-1' of git://anongit.freedesktop.org... (diff) | |
download | linux-40faaf80c463b2c99a0351d28bd74d75d64ed017.tar.xz linux-40faaf80c463b2c99a0351d28bd74d75d64ed017.zip |
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 '.cocciconfig')
0 files changed, 0 insertions, 0 deletions