PD#156734: video: disable blend ctrl when video off
Change-Id: I31bc906212dde34dd684ba3953ae8ada59107734
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
VD1_IF0_GEN_REG + cur_dev->viu_off, 0);
VSYNC_WR_MPEG_REG(
VD2_IF0_GEN_REG + cur_dev->viu_off, 0);
+ if (!legacy_vpp) {
+ VSYNC_WR_MPEG_REG(
+ VD1_BLEND_SRC_CTRL + cur_dev->vpp_off, 0);
+ VSYNC_WR_MPEG_REG(
+ VD2_BLEND_SRC_CTRL + cur_dev->vpp_off, 0);
+ }
}
#ifdef CONFIG_AMLOGIC_MEDIA_VSYNC_RDMA
WRITE_VCBUS_REG(VPP_SRSHARP0_CTRL, 0);
WRITE_VCBUS_REG(VPP_SRSHARP1_CTRL, 0);
+ /* Temp force set dmc */
+ if (!legacy_vpp)
+ WRITE_DMCREG(
+ DMC_AM0_CHAN_CTRL,
+ 0x8ff403cf);
return 0;
}