Thomas Zimmermann 40faaf80c4 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
2022-03-25 09:55:52 +10:00
..
2022-02-18 19:36:36 +01:00
2022-02-25 12:30:01 -08:00
2022-02-14 10:52:27 +10:00
2022-02-17 17:05:07 -08:00
2022-02-07 17:42:44 +01:00
2022-02-25 05:50:18 +10:00
2022-02-01 19:02:41 +10:00
2021-12-09 20:06:54 -08:00
2022-03-25 09:51:53 +10:00
2022-02-07 16:35:35 -08:00
2022-01-11 11:35:28 -08:00
2022-01-12 11:11:34 -08:00
2022-02-14 10:52:27 +10:00
2022-02-25 12:12:06 -08:00
2022-01-22 08:33:37 +02:00
2022-01-16 08:08:11 +02:00
2022-02-02 10:33:04 +05:30
2022-02-19 02:03:58 +01:00
2022-02-28 14:57:14 +10:00
2022-01-22 08:33:37 +02:00
2022-01-20 13:25:01 +02:00
2022-01-27 11:23:26 +02:00
2022-02-18 09:20:52 -08:00
2022-02-25 12:37:41 -08:00
2022-02-28 14:57:14 +10:00
2022-02-08 09:48:44 +01:00
2022-02-25 11:45:29 -08:00
2021-12-29 10:54:50 +01:00
2022-02-24 14:51:45 +01:00
2022-01-20 13:31:46 +02:00
2022-01-23 06:20:44 +02:00
2022-01-17 08:07:57 +02:00
2022-01-22 08:33:37 +02:00