amvecm: DNLP enable/disable abnormal [1/1]
authorCheng Wang <cheng.wang@amlogic.com>
Thu, 1 Aug 2019 07:53:18 +0000 (15:53 +0800)
committerTao Zeng <tao.zeng@amlogic.com>
Mon, 12 Aug 2019 08:03:01 +0000 (01:03 -0700)
PD#SWPL-10799

Problem:
dnlp enable effect is the same with disable.

Solution:
refresh vframe

Verify:
on x301

Change-Id: Ic133e10aa1faa5a6838dd05afc9e350498b01892
Signed-off-by: Cheng Wang <cheng.wang@amlogic.com>
drivers/amlogic/media/enhancement/amvecm/amvecm.c

index 5e31f11..5af2d9a 100644 (file)
@@ -1149,6 +1149,10 @@ int amvecm_on_vs(
                        /*1080i pulldown combing workaround*/
                        amvecm_dejaggy_patch(toggle_vf);
                }
+               /*refresh vframe*/
+               if (toggle_vf == NULL && vf != NULL) {
+                       refresh_on_vs(vf);
+               }
        } else {
                if (vd_path == VD1_PATH)
                        amvecm_reset_overscan();