aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2999-drm-amd-display-Don-t-spam-debug-log-on-long-reg-wai.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2999-drm-amd-display-Don-t-spam-debug-log-on-long-reg-wai.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2999-drm-amd-display-Don-t-spam-debug-log-on-long-reg-wai.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2999-drm-amd-display-Don-t-spam-debug-log-on-long-reg-wai.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2999-drm-amd-display-Don-t-spam-debug-log-on-long-reg-wai.patch
new file mode 100644
index 00000000..5e237d48
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/2999-drm-amd-display-Don-t-spam-debug-log-on-long-reg-wai.patch
@@ -0,0 +1,37 @@
+From dafee66dd5eff648fcf2ea291debddea891758b5 Mon Sep 17 00:00:00 2001
+From: Harry Wentland <harry.wentland@amd.com>
+Date: Mon, 27 Nov 2017 16:12:43 -0500
+Subject: [PATCH 2999/4131] drm/amd/display: Don't spam debug log on long reg
+ waits
+
+Certain reg waits take up to a frame. Don't spam the log when this
+happens.
+
+Signed-off-by: Harry Wentland <harry.wentland@amd.com>
+Reviewed-by: Jordan Lazare <Jordan.Lazare@amd.com>
+Acked-by: Harry Wentland <harry.wentland@amd.com>
+
+ Conflicts:
+ drivers/gpu/drm/amd/display/dc/os_types.h
+
+Change-Id: I8985743111ec4974451395a828a3d930bbc7ede7
+---
+ drivers/gpu/drm/amd/display/dc/os_types.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/drivers/gpu/drm/amd/display/dc/os_types.h b/drivers/gpu/drm/amd/display/dc/os_types.h
+index 83427a8..00ff3ab 100644
+--- a/drivers/gpu/drm/amd/display/dc/os_types.h
++++ b/drivers/gpu/drm/amd/display/dc/os_types.h
+@@ -44,7 +44,7 @@
+ #undef WRITE
+ #undef FRAME_SIZE
+
+-#define dm_output_to_console(fmt, ...) DRM_INFO(fmt, ##__VA_ARGS__)
++#define dm_output_to_console(fmt, ...) DRM_DEBUG_KMS(fmt, ##__VA_ARGS__)
+
+ #define dm_error(fmt, ...) DRM_ERROR(fmt, ##__VA_ARGS__)
+
+--
+2.7.4
+