summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
authorDavid Airlie <airlied@asimov.stargames.com.au>2007-04-11 17:25:37 +1000
committerDavid Airlie <airlied@asimov.stargames.com.au>2007-04-11 17:25:37 +1000
commit0392badd84ec833ddd9e2b187844d246d860bbf7 (patch)
tree6bec649b68cf49679470de909d4133ef431dca4b /linux-core
parent1147fefed8d1154482c9cc9a9785e6871cd6e6a1 (diff)
oops for 32 pitch.. hey I can see stuff on fbcon now.. it looks like text.. just a bit garbled
Diffstat (limited to 'linux-core')
-rw-r--r--linux-core/drm_fb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-core/drm_fb.c b/linux-core/drm_fb.c
index e404642f..30b14188 100644
--- a/linux-core/drm_fb.c
+++ b/linux-core/drm_fb.c
@@ -66,6 +66,7 @@ static int drmfb_setcolreg(unsigned regno, unsigned red, unsigned green,
((blue & 0xf800) >> 11);
break;
case 24:
+ case 32:
fb->pseudo_palette[regno] = ((red & 0xff00) << 8) |
(green & 0xff00) |
((blue & 0xff00) >> 8);