rk3288 lcdc: add global alpha
authorhjc <hjc@rock-chips.com>
Thu, 27 Mar 2014 10:09:11 +0000 (18:09 +0800)
committerhjc <hjc@rock-chips.com>
Thu, 27 Mar 2014 10:09:24 +0000 (18:09 +0800)
drivers/video/rockchip/lcdc/rk3288_lcdc.h

index 4ca889f258ebbb7827d207ab251c808feb0d0b6d..ff55e286dfa22b344fdc655f3a946818e0794c09 100755 (executable)
 #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)