drm/amd/display: Add a clock source to a sharing pipe
authorMikita Lipski <mikita.lipski@amd.com>
Wed, 23 Aug 2017 19:29:18 +0000 (15:29 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 22:17:15 +0000 (18:17 -0400)
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>
drivers/gpu/drm/amd/display/dc/core/dc_resource.c

index d284d9d40e2b2ba5b1c9dd64795dbf6a509e6b42..a4e92219a594a4918aa09ee9ccf3fe83ddf79dfc 100644 (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);