diff options
author | Thomas Zimmermann <[email protected]> | 2022-03-13 20:29:52 +0100 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2022-03-25 09:55:54 +1000 |
commit | 2a81dba4b577099717cea86d429f053e85e74d96 (patch) | |
tree | 2ef8087a601aa83933d18a0a5347865ab31a51b1 /net/lapb/lapb_timer.c | |
parent | 40faaf80c463b2c99a0351d28bd74d75d64ed017 (diff) |
fbdev: Fix cfb_imageblit() for arbitrary image widths
Commit 0d03011894d2 ("fbdev: Improve performance of cfb_imageblit()")
broke cfb_imageblit() for image widths 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 <[email protected]>
Fixes: 0d03011894d2 ("fbdev: Improve performance of cfb_imageblit()")
Reported-by: Marek Szyprowski <[email protected]>
Cc: Thomas Zimmermann <[email protected]>
Cc: Javier Martinez Canillas <[email protected]>
Cc: Sam Ravnborg <[email protected]>
Tested-by: Marek Szyprowski <[email protected]>
Acked-by: Daniel Vetter <[email protected]>
Reviewed-by: Javier Martinez Canillas <[email protected]>
Tested-by: Guenter Roeck <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions