From ed3e56455643c7f3640f9304919953ecbf6ca3de Mon Sep 17 00:00:00 2001 From: "congyang.huang" Date: Tue, 10 Oct 2023 18:11:41 +0800 Subject: [PATCH] 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 --- drivers/drm/meson_hdmi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/drm/meson_hdmi.c b/drivers/drm/meson_hdmi.c index 9196742fc..ed0540ff1 100644 --- a/drivers/drm/meson_hdmi.c +++ b/drivers/drm/meson_hdmi.c @@ -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;