aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0325-drm-amd-display-Log-clock-source-in-error-condition.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0325-drm-amd-display-Log-clock-source-in-error-condition.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0325-drm-amd-display-Log-clock-source-in-error-condition.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0325-drm-amd-display-Log-clock-source-in-error-condition.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0325-drm-amd-display-Log-clock-source-in-error-condition.patch
new file mode 100644
index 00000000..02c19f6d
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0325-drm-amd-display-Log-clock-source-in-error-condition.patch
@@ -0,0 +1,29 @@
+From 6d3bd6afef9b84d5b43b5eb5d7f903e83c48e2d1 Mon Sep 17 00:00:00 2001
+From: Jordan Lazare <Jordan.Lazare@amd.com>
+Date: Fri, 31 Mar 2017 17:14:20 -0400
+Subject: [PATCH 0325/4131] drm/amd/display: Log clock source in error
+ condition
+
+Signed-off-by: Jordan Lazare <Jordan.Lazare@amd.com>
+Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/amd/display/dc/dce/dce_hwseq.c | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_hwseq.c b/drivers/gpu/drm/amd/display/dc/dce/dce_hwseq.c
+index 17cdd70..34c1871 100644
+--- a/drivers/gpu/drm/amd/display/dc/dce/dce_hwseq.c
++++ b/drivers/gpu/drm/amd/display/dc/dce/dce_hwseq.c
+@@ -187,6 +187,7 @@ void dce_crtc_switch_to_clk_src(struct dce_hwseq *hws,
+ REG_UPDATE(PHYPLL_PIXEL_RATE_CNTL[tg_inst],
+ PIXEL_RATE_PLL_SOURCE, 1);
+ } else {
+- DC_ERR("unknown clock source");
++ DC_ERR("Unknown clock source. clk_src id: %d, TG_inst: %d",
++ clk_src->id, tg_inst);
+ }
+ }
+--
+2.7.4
+