mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
drm/rockchip: vop: add rk312x vop premultiplied alpha config
Change-Id: I444a7c36731da8984e23368dc11e5af8221b0da8 Signed-off-by: Sandy Huang <hjc@rock-chips.com>
This commit is contained in:
@@ -1086,7 +1086,8 @@ static const struct vop_win_phy rk3036_win0_data = {
|
||||
.yrgb_vir = VOP_REG(RK3036_WIN0_VIR, 0xffff, 0),
|
||||
.uv_vir = VOP_REG(RK3036_WIN0_VIR, 0x1fff, 16),
|
||||
.alpha_mode = VOP_REG(RK3036_DSP_CTRL0, 0x1, 18),
|
||||
.alpha_en = VOP_REG(RK3036_ALPHA_CTRL, 0x1, 0)
|
||||
.alpha_en = VOP_REG(RK3036_ALPHA_CTRL, 0x1, 0),
|
||||
.alpha_pre_mul = VOP_REG(RK3036_DSP_CTRL0, 0x1, 29),
|
||||
};
|
||||
|
||||
static const struct vop_win_phy rk3036_win1_data = {
|
||||
@@ -1421,7 +1422,8 @@ static const struct vop_win_phy rk3126_win1_data = {
|
||||
.yrgb_mst = VOP_REG(RK3126_WIN1_MST, 0xffffffff, 0),
|
||||
.yrgb_vir = VOP_REG(RK3036_WIN1_VIR, 0xffff, 0),
|
||||
.alpha_mode = VOP_REG(RK3036_DSP_CTRL0, 0x1, 19),
|
||||
.alpha_en = VOP_REG(RK3036_ALPHA_CTRL, 0x1, 1)
|
||||
.alpha_en = VOP_REG(RK3036_ALPHA_CTRL, 0x1, 1),
|
||||
.alpha_pre_mul = VOP_REG(RK3036_DSP_CTRL0, 0x1, 29),
|
||||
};
|
||||
|
||||
static const struct vop_win_data rk3126_vop_win_data[] = {
|
||||
|
||||
Reference in New Issue
Block a user