aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1020-drm-amd-display-Add-a-clock-source-to-a-sharing-pipe.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1020-drm-amd-display-Add-a-clock-source-to-a-sharing-pipe.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1020-drm-amd-display-Add-a-clock-source-to-a-sharing-pipe.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1020-drm-amd-display-Add-a-clock-source-to-a-sharing-pipe.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1020-drm-amd-display-Add-a-clock-source-to-a-sharing-pipe.patch
new file mode 100644
index 00000000..21b738aa
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/1020-drm-amd-display-Add-a-clock-source-to-a-sharing-pipe.patch
@@ -0,0 +1,32 @@
+From 36f6c6ea20d6a55848ed145062f087abac0c1eba Mon Sep 17 00:00:00 2001
+From: Mikita Lipski <mikita.lipski@amd.com>
+Date: Wed, 23 Aug 2017 15:29:18 -0400
+Subject: [PATCH 1020/4131] drm/amd/display: Add a clock source to a sharing
+ pipe
+
+Fix to allow DVI displays to share the same clock source
+
+Change-Id: I181201e004aef029429d2bf0d90b45aab19c11fc
+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>
+---
+ 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 c80650e..660d606 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.7.4
+