projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ddb8a1
)
[PATCH] ARM: IntegratorCP: 16bpp is RGB565 not RGB555
author
Russell King
<rmk@dyn-67.arm.linux.org.uk>
Sat, 30 Apr 2005 22:28:47 +0000
(23:28 +0100)
committer
Russell King
<rmk@dyn-67.arm.linux.org.uk>
Sat, 30 Apr 2005 22:28:47 +0000
(23:28 +0100)
Signed-off-by: Russell King <rmk@arm.linux.org.uk>
drivers/video/amba-clcd.c
patch
|
blob
|
history
diff --git
a/drivers/video/amba-clcd.c
b/drivers/video/amba-clcd.c
index 2896a380d4ea902d88f3831d23e847f63ffcf7c3..321dbe91dc14e270450216cf4cc79562d89ca225 100644
(file)
--- a/
drivers/video/amba-clcd.c
+++ b/
drivers/video/amba-clcd.c
@@
-134,16
+134,16
@@
clcdfb_set_bitfields(struct clcd_fb *fb, struct fb_var_screeninfo *var)
break;
case 16:
var->red.length = 5;
- var->green.length =
5
;
+ var->green.length =
6
;
var->blue.length = 5;
if (fb->panel->cntl & CNTL_BGR) {
- var->red.offset = 1
0
;
+ var->red.offset = 1
1
;
var->green.offset = 5;
var->blue.offset = 0;
} else {
var->red.offset = 0;
var->green.offset = 5;
- var->blue.offset = 1
0
;
+ var->blue.offset = 1
1
;
}
break;
case 32: