From: "Antonino A. Daplas" A static pseudocolor visual with depth less than 4 does exist, so let's not accidentally upscale the depth with this configuration Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton --- drivers/video/fbmem.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/video/fbmem.c~fbdev-static-pseudocolor-with-depth-less-than-4-does drivers/video/fbmem.c --- devel/drivers/video/fbmem.c~fbdev-static-pseudocolor-with-depth-less-than-4-does 2006-04-29 00:04:41.000000000 -0700 +++ devel-akpm/drivers/video/fbmem.c 2006-04-29 00:04:41.000000000 -0700 @@ -432,7 +432,7 @@ int fb_prepare_logo(struct fb_info *info depth = info->var.green.length; } - if (info->fix.visual == FB_VISUAL_STATIC_PSEUDOCOLOR) { + if (info->fix.visual == FB_VISUAL_STATIC_PSEUDOCOLOR && depth > 4) { /* assume console colormap */ depth = 4; } _