[PATCH 62/77] drm/amd/display: Add a clock source to a sharing pipe

Harry Wentland harry.wentland at amd.com
Thu Aug 31 18:08:57 UTC 2017


From: Mikita Lipski <mikita.lipski at amd.com>

Fix to allow DVI displays to share the same clock source

Change-Id: I181201e004aef029429d2bf0d90b45aab19c11fc
Signed-off-by: Mikita Lipski <mikita.lipski at amd.com>
Reviewed-by: Roman Li <Roman.Li at amd.com>
Acked-by: Harry Wentland <Harry.Wentland at amd.com>
---
 drivers/gpu/drm/amd/display/dc/core/dc_resource.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 c80650ed70dd..660d606929d1 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);
 
-- 
2.11.0



More information about the amd-gfx mailing list