From 54a6ce5fa894757020727576adefa228da452fff Mon Sep 17 00:00:00 2001 From: yao liu Date: Fri, 12 Jul 2019 05:27:54 -0400 Subject: [PATCH] dolby: fix tm2 end-to-end test [1/3] PD#SWPL-6631 Problem: 5213/5214/5217 480p graphic tests fail due to g_vpotch is too small Solution: incread g_vpotch from 0x20 to 0x60 for resolution below 720p Verify: verified on tm2 t96e2 Change-Id: Iedeaaf485c9ffea703d344edd7ed4b5187e78f1f Signed-off-by: yao liu --- drivers/amlogic/media/enhancement/amdolby_vision/amdolby_vision.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/amlogic/media/enhancement/amdolby_vision/amdolby_vision.c b/drivers/amlogic/media/enhancement/amdolby_vision/amdolby_vision.c index 1d2c43a..c9eeabf 100644 --- a/drivers/amlogic/media/enhancement/amdolby_vision/amdolby_vision.c +++ b/drivers/amlogic/media/enhancement/amdolby_vision/amdolby_vision.c @@ -2580,7 +2580,7 @@ static void apply_stb_core_settings( g_vpotch = 0x60; else g_vpotch = 0x20; - } else if (is_meson_g12()) { + } else if (is_meson_g12() || is_meson_tm2_stbmode()) { if (vinfo) { if (debug_dolby & 2) pr_dolby_dbg("vinfo %d %d %d\n", -- 2.7.4