vpp: force vd2 using preblend when playing mvc [1/1]

PD#SWPL-3381

Problem:
vd2 used postblend as default after g12a chip

Solution:
force vd2 using preblend when playing mvc

Verify:
Locally on u212

Change-Id: Ia7fab8ad70ed1e58b7ade241828afab288b94bec
Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
This commit is contained in:
Brian Zhu
2019-01-25 13:27:59 +08:00
committed by Jianxin Pan
parent d22515061a
commit cfe0e652c8

View File

@@ -6542,7 +6542,9 @@ SET_FILTER:
if (is_dolby_vision_on())
vpp_misc_set &= ~(VPP_VD2_PREBLEND |
VPP_VD2_POSTBLEND | VPP_PREBLEND_EN);
else if (process_3d_type)
else if (process_3d_type ||
(cur_dispbuf &&
(cur_dispbuf->type & VIDTYPE_MVC)))
vpp_misc_set |= VPP_VD2_PREBLEND |
VPP_PREBLEND_EN;
else if (!legacy_vpp)