drm/amd/display: Add initialitions for PLL2 clock source
authorIsabel Zhang <isabel.zhang@amd.com>
Mon, 27 Jan 2020 15:57:16 +0000 (10:57 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Mar 2020 15:43:38 +0000 (16:43 +0100)
commitcd32771da12cf5351e12936a721574c41dbe1f90
tree2ac5859dce158c1f6853e573b8562a6211b5363a
parent147fcd07ceba1e6fe3c3218387651656f4b6afe1
drm/amd/display: Add initialitions for PLL2 clock source

[ Upstream commit c134c3cabae46a56ab2e1f5e5fa49405e1758838 ]

[Why]
Starting from 14nm, the PLL is built into the PHY and the PLL is mapped
to PHY on 1 to 1 basis. In the code, the DP port is mapped to a PLL that was not
initialized. This causes DP to HDMI dongle to not light up the display.

[How]
Initializations added for PLL2 when creating resources.

Signed-off-by: Isabel Zhang <isabel.zhang@amd.com>
Reviewed-by: Eric Yang <eric.yang2@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/display/dc/dcn21/dcn21_resource.c