summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikita Lipski <mikita.lipski@amd.com>2017-08-23 15:29:18 -0400
committerAlex Deucher <alexander.deucher@amd.com>2017-09-26 18:17:15 -0400
commit4ed4e51b19496c4d160f3ca368d9ff5dd3e4a5b9 (patch)
tree7e5c17cb8882892fa0f0a55436acfc8917c9ee6b
parentf36cc577c3254738e370b553f9f8cedf2df84070 (diff)
downloadlinux-stable-4ed4e51b19496c4d160f3ca368d9ff5dd3e4a5b9.tar.gz
linux-stable-4ed4e51b19496c4d160f3ca368d9ff5dd3e4a5b9.tar.bz2
linux-stable-4ed4e51b19496c4d160f3ca368d9ff5dd3e4a5b9.zip
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>
-rw-r--r--drivers/gpu/drm/amd/display/dc/core/dc_resource.c2
1 files changed, 1 insertions, 1 deletions
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 d284d9d40e2b..a4e92219a594 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);