diff --git a/drivers/amlogic/media/enhancement/amvecm/bitdepth.c b/drivers/amlogic/media/enhancement/amvecm/bitdepth.c index 7da0e61fd16f..50a1e6dfff42 100644 --- a/drivers/amlogic/media/enhancement/amvecm/bitdepth.c +++ b/drivers/amlogic/media/enhancement/amvecm/bitdepth.c @@ -380,11 +380,11 @@ void vpp_set_12bit_datapath_g12a(void) vpp_set_vd1_mux4(0); vpp_set_vd1_mux2(0); vpp_set_vd1_mux5(0); - vpp_set_vd1_preblend_mux(1); - vpp_set_vd1_postblend_mux(1); + vpp_set_vd1_preblend_mux(0); + vpp_set_vd1_postblend_mux(0); vpp_set_vd1_postblend_en(1); vpp_set_vd2_preblend_mux(0); - vpp_set_vd2_postblend_mux(2); + vpp_set_vd2_postblend_mux(0); vpp_set_vd2_postblend_en(0); vpp_set_vd2_ext_mod(0); vpp_set_vd2_bypass_dolby(1); diff --git a/drivers/amlogic/media/video_sink/video.c b/drivers/amlogic/media/video_sink/video.c index 1e6d2cfa9663..2b30d493bcbc 100644 --- a/drivers/amlogic/media/video_sink/video.c +++ b/drivers/amlogic/media/video_sink/video.c @@ -5560,11 +5560,11 @@ SET_FILTER: set_value = ((1 << 20) | (1 << 16) | /* post bld premult*/ - (1 << 8)); /* post src */ + (2 << 8)); /* post src */ else if (vpp_misc_set & VPP_VD2_PREBLEND) set_value = ((1 << 4) | /* pre bld premult*/ - (1 << 0)); /* pre bld src 1 */ + (2 << 0)); /* pre bld src 1 */ VSYNC_WR_MPEG_REG( VD2_BLEND_SRC_CTRL + cur_dev->vpp_off, set_value); @@ -5575,9 +5575,7 @@ SET_FILTER: if ((vpp_misc_set & VPP_VD2_PREBLEND) && (vpp_misc_set & VPP_VD1_PREBLEND)) set_value |= VPP_PREBLEND_EN; - if ((vpp_misc_set & VPP_VD2_POSTBLEND) - || (vpp_misc_set & VPP_VD1_POSTBLEND)) - set_value |= VPP_POSTBLEND_EN; + set_value |= VPP_POSTBLEND_EN; VSYNC_WR_MPEG_REG( VPP_MISC + cur_dev->vpp_off, set_value);