drm/rockchip: inno_hdmi: Fix video timing
authorAlex Bee <knaerzche@gmail.com>
Fri, 22 Dec 2023 17:41:54 +0000 (18:41 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Fri, 29 Dec 2023 23:33:12 +0000 (00:33 +0100)
commit47a145c03484d33e65d773169d5ca1b9fe2a492e
tree23ab4000b2cabaf82755c072c99c570f9b9a1b08
parent407eaa4aa64a8429094fa75fac00fff5e471138d
drm/rockchip: inno_hdmi: Fix video timing

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
drivers/gpu/drm/rockchip/inno_hdmi.c