From: Mikita Lipski Date: Wed, 23 Aug 2017 19:29:18 +0000 (-0400) Subject: drm/amd/display: Add a clock source to a sharing pipe X-Git-Tag: v4.15-rc1~56^2~23^2~117 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4ed4e51b19496c4d160f3ca368d9ff5dd3e4a5b9;p=thirdparty%2Fkernel%2Flinux.git 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 Reviewed-by: Roman Li Acked-by: Harry Wentland Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_resource.c b/drivers/gpu/drm/amd/display/dc/core/dc_resource.c index d284d9d40e2b2..a4e92219a594a 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc_resource.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc_resource.c @@ -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);