diff options
| author | Thomas Zimmermann <tzimmermann@suse.de> | 2022-03-13 20:29:51 +0100 |
|---|---|---|
| committer | Thomas Zimmermann <tzimmermann@suse.de> | 2022-03-17 20:25:55 +0100 |
| commit | 61bfcb6a3b981e8f19e044ac8c3de6edbe6caf70 (patch) | |
| tree | e6e4c43d198093f44d9f95cf35a4188be871d113 /tools/perf/scripts/python | |
| parent | 5d5fb74630c1896aa80f01a551d0a0e82e4d5765 (diff) | |
| download | linux-61bfcb6a3b981e8f19e044ac8c3de6edbe6caf70.tar.gz linux-61bfcb6a3b981e8f19e044ac8c3de6edbe6caf70.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()")
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Tested-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Thomas Zimmermann <tzimmermann@suse.de>
Cc: Javier Martinez Canillas <javierm@redhat.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220313192952.12058-2-tzimmermann@suse.de
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
