]> asedeno.scripts.mit.edu Git - linux.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)
commitcc67ae90be461ff78ed0b92681213e988138312a
treecfbb6571408c1b4b02e9ffbd48c00d6467c21022
parent4b1c924b1fc15e68251ad0186b5004858d0f147b
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