aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2364-drm-amd-display-Enable-dcn10_power_on_fe-log-by-defa.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2364-drm-amd-display-Enable-dcn10_power_on_fe-log-by-defa.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2364-drm-amd-display-Enable-dcn10_power_on_fe-log-by-defa.patch42
1 files changed, 42 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2364-drm-amd-display-Enable-dcn10_power_on_fe-log-by-defa.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2364-drm-amd-display-Enable-dcn10_power_on_fe-log-by-defa.patch
new file mode 100644
index 00000000..15ca6234
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2364-drm-amd-display-Enable-dcn10_power_on_fe-log-by-defa.patch
@@ -0,0 +1,42 @@
+From b1906479ec78bcbb6ebf118a25fcd43aa0d25632 Mon Sep 17 00:00:00 2001
+From: Harry Wentland <harry.wentland@amd.com>
+Date: Thu, 31 Aug 2017 16:08:51 -0400
+Subject: [PATCH 2364/4131] drm/amd/display: Enable dcn10_power_on_fe log by
+ default
+
+This should only happen on full update. If this ever happens
+on regular pageflips it needs to be debugged.
+
+Signed-off-by: Harry Wentland <harry.wentland@amd.com>
+Reviewed-by: Tony Cheng <Tony.Cheng@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/dcn10/dcn10_hw_sequencer.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c
+index a6015c2..6b76fc4 100644
+--- a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c
++++ b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c
+@@ -1975,7 +1975,7 @@ static void dcn10_power_on_fe(
+ /*TODO: REG_UPDATE(DENTIST_DISPCLK_CNTL, DENTIST_DPPCLK_WDIVIDER, 0x1f);*/
+
+ if (plane_state) {
+- dm_logger_write(dc->ctx->logger, LOG_DEBUG,
++ dm_logger_write(dc->ctx->logger, LOG_DC,
+ "Pipe:%d 0x%x: addr hi:0x%x, "
+ "addr low:0x%x, "
+ "src: %d, %d, %d,"
+@@ -1993,7 +1993,7 @@ static void dcn10_power_on_fe(
+ plane_state->dst_rect.width,
+ plane_state->dst_rect.height);
+
+- dm_logger_write(dc->ctx->logger, LOG_DEBUG,
++ dm_logger_write(dc->ctx->logger, LOG_DC,
+ "Pipe %d: width, height, x, y\n"
+ "viewport:%d, %d, %d, %d\n"
+ "recout: %d, %d, %d, %d\n",
+--
+2.7.4
+