]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4c85aab6ef4da79320c3025209974991335a0a27
treeb9044243c7f0b578a962245dd287205104f62cda
parent2c82f825069017d04c6ffca29a3bd7e6ba009fcc
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