OSDN Git Service

fbdev: fix 1bpp logo for unusual width
authorDavid Lechner <david@lechnology.com>
Fri, 18 Aug 2017 17:56:40 +0000 (19:56 +0200)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Fri, 18 Aug 2017 17:56:40 +0000 (19:56 +0200)
commit16622a8e7e46fab31fd33ca5a23672385de240f6
treeb9044243c7f0b578a962245dd287205104f62cda
parentb0d8e409c3626eae42b59a3d76574804f2cef5ef
fbdev: fix 1bpp logo for unusual width

This check is needed in the case where the width of the framebuffer
is not a multiple of 8 pixels. For example, LEGO MINDSTORMS EV3 has
a 178x128 1bpp display.

Signed-off-by: David Lechner <david@lechnology.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
drivers/video/fbdev/core/fbmem.c