Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 25596
b: refs/heads/master
c: 397eeab
h: refs/heads/master
v: v3
  • Loading branch information
Antonino A. Daplas authored and Linus Torvalds committed Apr 11, 2006
1 parent b5549f0 commit e490a04
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 89ec4c238e7a3d7e660291f3f1a8181381baad77
refs/heads/master: 397eeab321e87d8c1ef928b58f256513e6f481dc
5 changes: 5 additions & 0 deletions trunk/drivers/video/fbmem.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit e490a04

Please sign in to comment.