]> git.baikalelectronics.ru Git - kernel.git/commit
drm/sun4i: hdmi: Allow using second PLL as TMDS clk parent
authorChen-Yu Tsai <wens@csie.org>
Tue, 10 Oct 2017 03:20:02 +0000 (11:20 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Wed, 11 Oct 2017 07:53:13 +0000 (09:53 +0200)
commit9e1740679ee52b75aad608822544caf99fa6ef74
treecfbb6571408c1b4b02e9ffbd48c00d6467c21022
parent3d977d2f90795061e5a586575c983b952e50c67d
drm/sun4i: hdmi: Allow using second PLL as TMDS clk parent

On SoCs with two display pipelines, it is possible that the two
pipelines are active at the same time, with potentially incompatible
dot clocks.

Let the HDMI encoder's TMDS clock go through all of its parents when
calculating possible clock rates. This allows usage of the second video
PLL as its parent.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171010032008.682-6-wens@csie.org
drivers/gpu/drm/sun4i/sun4i_hdmi_tmds_clk.c