]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/rockchip: inno_hdmi: Fix video timing
authorAlex Bee <knaerzche@gmail.com>
Fri, 22 Dec 2023 17:41:54 +0000 (18:41 +0100)
committerSasha Levin <sashal@kernel.org>
Tue, 26 Mar 2024 22:19:42 +0000 (18:19 -0400)
commit9ac30fb8fae69dcf19509ef26ca8f350fe281ecc
tree01493cbbafcff04a8d5a07985a0aac4fb2c509cd
parentc5825eff7750b866d2e6f320ae329427885eaeb6
drm/rockchip: inno_hdmi: Fix video timing

[ Upstream commit 47a145c03484d33e65d773169d5ca1b9fe2a492e ]

The controller wants the difference between *total and *sync_start in the
HDMI_VIDEO_EXT_*DELAY registers. Otherwise the signal is very unstable for
certain non-VIC modes. See downstream commit [0].

[0] https://github.com/rockchip-linux/kernel/commit/8eb559f2502c

Fixes: 412d4ae6b7a5 ("drm/rockchip: hdmi: add Innosilicon HDMI support")
Co-developed-by: Zheng Yang <zhengyang@rock-chips.com>
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
Signed-off-by: Alex Bee <knaerzche@gmail.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20231222174220.55249-4-knaerzche@gmail.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/rockchip/inno_hdmi.c