drm/amd/display: Use DTO as clock on DP if not
authorDing Wang <Ding.Wang@amd.com>
Tue, 10 Jan 2017 17:47:37 +0000 (12:47 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 21:09:30 +0000 (17:09 -0400)
commit0ea9e02af5572323f79b493ec8d6bfa55effb2f7
treedf6aa51946136769d7abe223ab25f2fd0e08e402
parent3e183c5f083125986dd0cd0ab609252349983f0e
drm/amd/display: Use DTO as clock on DP if not

Use DVO as pixel clock for DP before enabling link
PHY. Otherwise, when switching from HDMI passive dongle
to DP on the same connector, the PHY PLL is used as
pixel clock, and CRTC would stop working.

Signed-off-by: Ding Wang <Ding.Wang@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link_hwss.c