projects
/
platform
/
upstream
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1147fef
)
oops for 32 pitch.. hey I can see stuff on fbcon now.. it looks like text.. just...
author
David Airlie
<airlied@asimov.stargames.com.au>
Wed, 11 Apr 2007 07:25:37 +0000
(17:25 +1000)
committer
David Airlie
<airlied@asimov.stargames.com.au>
Wed, 11 Apr 2007 07:25:37 +0000
(17:25 +1000)
linux-core/drm_fb.c
patch
|
blob
|
history
diff --git
a/linux-core/drm_fb.c
b/linux-core/drm_fb.c
index
e404642
..
30b1418
100644
(file)
--- 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);