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:
d177e4f
)
rk3288 lcdc: add global alpha
author
hjc
<hjc@rock-chips.com>
Thu, 27 Mar 2014 10:09:11 +0000
(18:09 +0800)
committer
hjc
<hjc@rock-chips.com>
Thu, 27 Mar 2014 10:09:24 +0000
(18:09 +0800)
drivers/video/rockchip/lcdc/rk3288_lcdc.h
patch
|
blob
|
history
diff --git
a/drivers/video/rockchip/lcdc/rk3288_lcdc.h
b/drivers/video/rockchip/lcdc/rk3288_lcdc.h
index 4ca889f258ebbb7827d207ab251c808feb0d0b6d..ff55e286dfa22b344fdc655f3a946818e0794c09 100755
(executable)
--- a/
drivers/video/rockchip/lcdc/rk3288_lcdc.h
+++ b/
drivers/video/rockchip/lcdc/rk3288_lcdc.h
@@
-656,7
+656,7
@@
#define v_WIN2_SRC_ALPHA_M0(x) (((x)&1)<<2)
#define v_WIN2_SRC_BLEND_M0(x) (((x)&3)<<3)
#define v_WIN2_SRC_ALPHA_CAL_M0(x) (((x)&1)<<5)
-#define v_WIN2_SRC_FACTOR_M0(x) (((x)&7)<<
5
)
+#define v_WIN2_SRC_FACTOR_M0(x) (((x)&7)<<
6
)
#define v_WIN2_SRC_GLOBAL_ALPHA(x) (((x)&0xff)<<16)
#define v_WIN2_FADING_VALUE(x) (((x)&0xff)<<24)