dv: osd display overexposure at 1080i [2/2]

PD#SWPL-12495

Problem:
dv vertical potch is small

Solution:
increase vpotch to 0x60

Verify:
verify on sm1

Change-Id: I4be460eb130e3c8ab85c5743ae85af72c9b7de6b
Signed-off-by: yao liu <yao.liu@amlogic.com>
This commit is contained in:
yao liu
2019-10-21 16:04:56 +08:00
committed by Yao Liu
parent b4976d19ef
commit 51206dccca

View File

@@ -2721,10 +2721,18 @@ static void adjust_vpotch(void)
else if ((vinfo->width == 1280) &&
(vinfo->height == 720))
g_vpotch = 0x38;
else if ((vinfo->width == 1280) &&
(vinfo->height == 720) &&
(vinfo->field_height < 720))
g_vpotch = 0x60;
else if ((vinfo->width == 1920) &&
(vinfo->height == 1080) &&
(sync_duration_num < 30))
g_vpotch = 0x60;
else if ((vinfo->width == 1920) &&
(vinfo->height == 1080) &&
(vinfo->field_height < 1080))
g_vpotch = 0x60;
else
g_vpotch = 0x20;
if (vinfo->width > 1920)