}
/*probe close sr0 peaking for switch on video*/
WRITE_VPP_REG_BITS(VPP_SRSHARP0_CTRL, 1, 0, 1);
- WRITE_VPP_REG_BITS(VPP_SRSHARP1_CTRL, 0, 0, 1);
+ if (cpu_after_eq(MESON_CPU_MAJOR_ID_TL1))
+ WRITE_VPP_REG_BITS(VPP_SRSHARP1_CTRL, 0, 0, 1);
+ else
+ WRITE_VPP_REG_BITS(VPP_SRSHARP1_CTRL, 1, 0, 1);
/*default dnlp off*/
WRITE_VPP_REG_BITS(SRSHARP0_PK_NR_ENABLE + sr_offset[0],
0, 1, 1);
vpp_misc_set &= ~(VPP_VD2_PREBLEND |
VPP_VD2_POSTBLEND | VPP_PREBLEND_EN);
/*auto disable sr when video off*/
- VSYNC_WR_MPEG_REG(VPP_SRSHARP0_CTRL, 0);
- VSYNC_WR_MPEG_REG(VPP_SRSHARP1_CTRL, 0);
+ if (!is_meson_txl_cpu() &&
+ !is_meson_txlx_cpu()) {
+ VSYNC_WR_MPEG_REG(VPP_SRSHARP0_CTRL, 0);
+ VSYNC_WR_MPEG_REG(VPP_SRSHARP1_CTRL, 0);
+ }
video_onoff_state = VIDEO_ENABLE_STATE_IDLE;
video_onoff_time = jiffies_to_msecs(jiffies);
vpu_delay_work_flag |=