fbdev: Fix logo if logo depth is less than framebuffer depth
authorAntonino A. Daplas <adaplas@gmail.com>
Tue, 31 Jul 2007 07:37:36 +0000 (00:37 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 31 Jul 2007 22:39:37 +0000 (15:39 -0700)
commit1692b37c99d5087cf2f814466a907a3dd35a1453
tree6d1627b83b031c814698fb974916c5020eea2183
parentc81f717cb9e0bd91dc4b98753cb2705ab0fe2801
fbdev: Fix logo if logo depth is less than framebuffer depth

The VGA16 logo (bpp = 4) and monochrome logo (bpp = 1) do not contain any
color information (no CLUT).  If the fb depth is > logo depth, these logo's
will not properly display. Fix by using the console palette instead of
creating a new one.

Signed-off-by: Antonino Daplas <adaplas@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/fbmem.c