ODROID-G12: Fix scale bug for special aspect ratio.

The 3840 x 1080 resolution has a problem scaling up for OSD layer.

Change-Id: I7baadd1aa34a2332952fc42260f8f3ec766a6ca6
This commit is contained in:
Chris
2021-12-22 09:44:00 +09:00
parent 72d371dcd0
commit 78b8383a33

View File

@@ -7149,7 +7149,7 @@ static void osd_set_freescale(u32 index,
* in case of higher resolution over 2560x1080.
* Other cases, native vertical size is used.
*/
if ((dst_height > 1080) && (dst_width >= 2560))
if ((dst_height >= 1080) && (dst_width >= 2560))
osd_hw.free_scale[index].v_enable = 1;
else
osd_hw.free_scale[index].v_enable = 0;