osd: add osd blend bypass function for tm2 [2/3]

PD#SWPL-6631

Problem:
dv certification need osd blend bypass

Solution:
add osd blend bypass function

Verify:
verified on tm2 t96e2

Change-Id: I91ba9c622aacc7bc9ad657105fd5e53a3cee595b
Signed-off-by: yao liu <yao.liu@amlogic.com>
This commit is contained in:
yao liu
2019-07-12 05:33:50 -04:00
committed by Tao Zeng
parent 54a6ce5fa8
commit be32d1321f

View File

@@ -7787,10 +7787,14 @@ static void osd_set_freescale_new(u32 index,
return;
}
output_index = get_output_device_id(index);
osd_hw.free_scale_enable[index] = 0x10001;
osd_hw.free_scale[index].h_enable = 1;
osd_hw.free_scale[index].v_enable = 1;
osd_hw.free_scale_mode[index] = 1;
if (!(osd_hw.osd_display_debug &&
!osd_hw.free_scale_enable[index])) {
osd_hw.free_scale_enable[index] = 0x10001;
osd_hw.free_scale[index].h_enable = 1;
osd_hw.free_scale[index].v_enable = 1;
osd_hw.free_scale_mode[index] = 1;
}
osd_hw.free_src_data[index].x_start =
osd_hw.src_data[index].x;