mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
drm/rockchip: vop: add csc_mode regs for PX30/RK3366/RV1126
Signed-off-by: Damon Ding <damon.ding@rock-chips.com> Change-Id: Iffa1b5ea9dfcc5a0a1d2aa7e023c80ae8c174510
This commit is contained in:
@@ -1434,6 +1434,7 @@ static const struct vop_win_phy rk3366_lit_win0_data = {
|
||||
.enable = VOP_REG(RK3366_LIT_WIN0_CTRL0, 0x1, 0),
|
||||
.format = VOP_REG(RK3366_LIT_WIN0_CTRL0, 0x7, 1),
|
||||
.interlace_read = VOP_REG(RK3366_LIT_WIN0_CTRL0, 0x1, 8),
|
||||
.csc_mode = VOP_REG(RK3366_LIT_WIN0_CTRL0, 0x3, 10),
|
||||
.rb_swap = VOP_REG(RK3366_LIT_WIN0_CTRL0, 0x1, 12),
|
||||
.act_info = VOP_REG(RK3366_LIT_WIN0_ACT_INFO, 0xffffffff, 0),
|
||||
.dsp_info = VOP_REG(RK3366_LIT_WIN0_DSP_INFO, 0xffffffff, 0),
|
||||
@@ -1617,6 +1618,7 @@ static const struct vop_win_phy px30_win23_data = {
|
||||
.nformats = ARRAY_SIZE(formats_win_lite),
|
||||
.gate = VOP_REG(RK3368_WIN2_CTRL0, 0x1, 0),
|
||||
.enable = VOP_REG(RK3368_WIN2_CTRL0, 0x1, 4),
|
||||
.csc_mode = VOP_REG(RK3368_WIN2_CTRL0, 0x3, 2),
|
||||
.format = VOP_REG(RK3368_WIN2_CTRL0, 0x3, 5),
|
||||
.rb_swap = VOP_REG(RK3368_WIN2_CTRL0, 0x1, 20),
|
||||
.dsp_info = VOP_REG(RK3368_WIN2_DSP_INFO0, 0x0fff0fff, 0),
|
||||
|
||||
Reference in New Issue
Block a user