projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e78bb88
)
video: s3c-fb: fix transparency length for pixel blending
author
Jingoo Han
<jg1.han@samsung.com>
Mon, 7 Nov 2011 06:03:01 +0000
(15:03 +0900)
committer
Florian Tobias Schandinat
<FlorianSchandinat@gmx.de>
Fri, 11 Nov 2011 16:56:37 +0000
(16:56 +0000)
Transparency length is fixed for pixel blending in order to support
ARGB 8888 format.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
drivers/video/s3c-fb.c
patch
|
blob
|
history
diff --git
a/drivers/video/s3c-fb.c
b/drivers/video/s3c-fb.c
index 0753b1cfcb8bc9eb6df5fa234ac2441b9c48470b..12eaee0b29e6b153b0405a49c546c73a3133b80a 100644
(file)
--- a/
drivers/video/s3c-fb.c
+++ b/
drivers/video/s3c-fb.c
@@
-621,7
+621,8
@@
static int s3c_fb_set_par(struct fb_info *info)
} else if (var->transp.length == 1)
data |= WINCON1_BPPMODE_25BPP_A1888
| WINCON1_BLD_PIX;
- else if (var->transp.length == 4)
+ else if ((var->transp.length == 4) ||
+ (var->transp.length == 8))
data |= WINCON1_BPPMODE_28BPP_A4888
| WINCON1_BLD_PIX | WINCON1_ALPHA_SEL;
else