dv: osd icon display colored dots at 720p [1/1]
authoryao liu <yao.liu@amlogic.com>
Thu, 26 Sep 2019 10:28:09 +0000 (06:28 -0400)
committerTao Zeng <tao.zeng@amlogic.com>
Tue, 8 Oct 2019 07:11:25 +0000 (00:11 -0700)
PD#SWPL-14463

Problem:
OSD hold line changed from 4 to 8, dv vertical
potch should be adjusted accordingly.

Solution:
increase vpotch from 0x20 to 0x30.

Verify:
verify on sm1 720p.

Change-Id: I33779829cb80ce34c5596081a7591278e214d347
Signed-off-by: yao liu <yao.liu@amlogic.com>
drivers/amlogic/media/enhancement/amdolby_vision/amdolby_vision.c

index c665618d1b176b003de75a18980520f5f9257f01..3274bf70b5d6f337b01f7f52ab34634bd338990e 100644 (file)
@@ -2651,6 +2651,9 @@ static void adjust_vpotch(void)
                                (vinfo->height < 720) &&
                                (vinfo->field_height < 720))
                                g_vpotch = 0x60;
+                       else if ((vinfo->width == 1280) &&
+                                (vinfo->height == 720))
+                               g_vpotch = 0x30;
                        else
                                g_vpotch = 0x20;
                        if (vinfo->width > 1920)