]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/rockchip: dw_hdmi: Add max_tmds_clock validation
authorJonas Karlman <jonas@kwiboo.se>
Sat, 15 Jun 2024 17:03:57 +0000 (17:03 +0000)
committerHeiko Stuebner <heiko@sntech.de>
Thu, 15 Aug 2024 17:27:39 +0000 (19:27 +0200)
commit5f5f657a9c3efe16a2e1455b840c5009f9c75af5
tree978918df47c16eef31bbf5eb73c50456a591ff69
parent1213b65e436d64611cf74ef8f005b22f6793275f
drm/rockchip: dw_hdmi: Add max_tmds_clock validation

Add max_tmds_clock validation to prepare for additions and changes to
the MPLL config table. Use the same rate restrictions that is currently
applied.

The rate limit for RK3288, RK3399 and RK3568 is based on current mpll
table. The rate limit for RK3228 and RK3328 is based on the
inno-hdmi-phy pre-pll table.

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20240615170417.3134517-7-jonas@kwiboo.se
drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c