projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d78b93
)
rk3288 lcdc: fix global alpha set error
author
hjc
<hjc@rock-chips.com>
Thu, 27 Mar 2014 11:13:56 +0000
(19:13 +0800)
committer
hjc
<hjc@rock-chips.com>
Thu, 27 Mar 2014 11:13:56 +0000
(19:13 +0800)
drivers/video/rockchip/lcdc/rk3288_lcdc.c
patch
|
blob
|
history
diff --git
a/drivers/video/rockchip/lcdc/rk3288_lcdc.c
b/drivers/video/rockchip/lcdc/rk3288_lcdc.c
index 06a719294ca807a8abdcd4442f35d20ae836ef47..f2b6740a2e4621ef4bb461d93888b98cf69e6e85 100755
(executable)
--- a/
drivers/video/rockchip/lcdc/rk3288_lcdc.c
+++ b/
drivers/video/rockchip/lcdc/rk3288_lcdc.c
@@
-453,7
+453,10
@@
static int rk3288_lcdc_alpha_cfg(struct rk_lcdc_driver *dev_drv,int win_id)
break;
case AB_SRC_OVER:
alpha_config.src_color_mode=AA_SRC_PRE_MUL;
- alpha_config.src_factor_mode=AA_ONE;
+ if(global_alpha)
+ alpha_config.src_factor_mode=AA_SRC_GLOBAL;
+ else
+ alpha_config.src_factor_mode=AA_ONE;
alpha_config.dst_factor_mode=AA_SRC_INVERSE;
break;
case AB_DST_OVER: