drm/amd/display: Add a clock source to a sharing pipe

Fix to allow DVI displays to share the same clock source

Signed-off-by: Mikita Lipski <mikita.lipski@amd.com>
Reviewed-by: Roman Li <Roman.Li@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Mikita Lipski 2017-08-23 15:29:18 -04:00 committed by Alex Deucher
parent f36cc577c3
commit 4ed4e51b19

View File

@ -2536,7 +2536,7 @@ enum dc_status resource_map_clock_resources(
pipe_ctx->clock_source = NULL;
if (!dc->config.disable_disp_pll_sharing)
resource_find_used_clk_src_for_sharing(
pipe_ctx->clock_source = resource_find_used_clk_src_for_sharing(
&context->res_ctx,
pipe_ctx);