From e490a04fe309a640937e386c19cd4245386d96c1 Mon Sep 17 00:00:00 2001 From: "Antonino A. Daplas" Date: Mon, 10 Apr 2006 22:55:49 -0700 Subject: [PATCH] --- yaml --- r: 25596 b: refs/heads/master c: 397eeab321e87d8c1ef928b58f256513e6f481dc h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/video/fbmem.c | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 7e62eb92844a..1719e93f9d27 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 89ec4c238e7a3d7e660291f3f1a8181381baad77 +refs/heads/master: 397eeab321e87d8c1ef928b58f256513e6f481dc diff --git a/trunk/drivers/video/fbmem.c b/trunk/drivers/video/fbmem.c index 944855b3e4af..8d8eadb64853 100644 --- a/trunk/drivers/video/fbmem.c +++ b/trunk/drivers/video/fbmem.c @@ -435,6 +435,11 @@ int fb_prepare_logo(struct fb_info *info, int rotate) depth = info->var.green.length; } + if (info->fix.visual == FB_VISUAL_STATIC_PSEUDOCOLOR) { + /* assume console colormap */ + depth = 4; + } + if (depth >= 8) { switch (info->fix.visual) { case FB_VISUAL_TRUECOLOR: