]> 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)
commitd625ce8993738941c94f3781004cfcb0c4c28a13
treecfbb6571408c1b4b02e9ffbd48c00d6467c21022
parentb96bdc4756d5e07c87fd3027d441fc9b46516b4a
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