mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 04:48:04 +09:00
dv: need update the right osd size for core2 [1/1]
PD#SWPL-14748 Problem: DV core2 did not update the osd size. Solution: monitor the osd size change in dv processing Verify: Verifed on U212 Change-Id: Icade183483bd0f12f3d1d5424b38ac97ac1c83d1 Signed-off-by: Brian Zhu <brian.zhu@amlogic.com>
This commit is contained in:
@@ -2637,8 +2637,7 @@ static int is_graphic_changed(void)
|
||||
is_osd_off = false;
|
||||
ret |= 2;
|
||||
}
|
||||
/* do not need to monitor osd change, */
|
||||
/* because scaler is after dolby core2 */
|
||||
|
||||
if ((osd_graphic_width != new_osd_graphic_width) ||
|
||||
(osd_graphic_height != new_osd_graphic_height)) {
|
||||
if (debug_dolby & 0x10)
|
||||
@@ -2647,11 +2646,12 @@ static int is_graphic_changed(void)
|
||||
osd_graphic_height,
|
||||
new_osd_graphic_width,
|
||||
new_osd_graphic_height);
|
||||
/* ignore osd size change */
|
||||
/* osd scaler is after dobly core */
|
||||
/* osd_graphic_width = new_osd_graphic_width; */
|
||||
/* osd_graphic_height = new_osd_graphic_height; */
|
||||
/* ret |= 4; */
|
||||
/* TODO: since tm2 can change osd pps position */
|
||||
if (!is_osd_off && !is_meson_tm2()) {
|
||||
osd_graphic_width = new_osd_graphic_width;
|
||||
osd_graphic_height = new_osd_graphic_height;
|
||||
ret |= 2;
|
||||
}
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user