osd: the border below has a green horizontal line [1/2]

PD#SWPL-3478

Problem:
the border below has a green horizontal line

Solution:
add freescale repeat last line, supported chip after G12B

Verify:
verify on T962X2-X301

Change-Id: I5dab91774eea3949062fe3254db7a074563fe1c4
Signed-off-by: Pengcheng Chen <pengcheng.chen@amlogic.com>
This commit is contained in:
Pengcheng Chen
2018-12-24 10:40:34 +08:00
committed by Luan Yuan
parent 7a4d37e36f
commit 7cd21ee44e

View File

@@ -4567,6 +4567,9 @@ static void osd_update_disp_freescale_enable(u32 index)
if (osd_hw.scale_workaround)
data32 |= 1 << 21;
data32 |= 1 << 24;
if (osd_hw.osd_meson_dev.cpu_id >=
__MESON_CPU_MAJOR_ID_G12B)
data32 |= 1 << 25;
}
VSYNCOSD_WR_MPEG_REG(osd_reg->osd_vsc_ctrl0, data32);
data32 = 0x0;