]> 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)
commit60e6490171024cdf7289092696c81d2c0e58a206
treeb9044243c7f0b578a962245dd287205104f62cda
parent0fb9e50057d2582fb2bdc7cd70a828de9ddb8868
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