drm_hdmitx: The refresh rate of 576i and 480i are incorrect [1/1]

PD#SWPL-138840

Problem:
Incorrect refresh rates for 576i and 480i

Solution:
Divide the clock of mode by 2

Verify:
BG201

Test:
DRM-OSD-119

Change-Id: I8ab37a30753db9e428ecbd58a26ea1e37e6cfd44
Signed-off-by: congyang.huang <congyang.huang@amlogic.com>
This commit is contained in:
congyang.huang
2023-10-10 18:11:41 +08:00
committed by Luan Yuan
parent 508f4e8930
commit ed3e564556
+1
View File
@@ -398,6 +398,7 @@ int meson_hdmitx_get_modes(struct drm_connector *connector)
mode->hsync_start >>= 1;
mode->hsync_end >>= 1;
mode->htotal >>= 1;
mode->clock >>= 1;
}
mode->hskew = 0;