aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/linux-yocto-4.14.71/4530-drm-amd-display-Prefix-event-prints-with-Event.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/4530-drm-amd-display-Prefix-event-prints-with-Event.patch')
-rw-r--r--common/recipes-kernel/linux/linux-yocto-4.14.71/4530-drm-amd-display-Prefix-event-prints-with-Event.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/4530-drm-amd-display-Prefix-event-prints-with-Event.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/4530-drm-amd-display-Prefix-event-prints-with-Event.patch
new file mode 100644
index 00000000..b33b9d4f
--- /dev/null
+++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/4530-drm-amd-display-Prefix-event-prints-with-Event.patch
@@ -0,0 +1,28 @@
+From d55fbcfe9699249492bf9063a43fd365580d1105 Mon Sep 17 00:00:00 2001
+From: Anthony Koo <Anthony.Koo@amd.com>
+Date: Tue, 8 May 2018 11:24:05 -0400
+Subject: [PATCH 4530/5725] drm/amd/display: Prefix event prints with ==Event==
+
+Signed-off-by: Anthony Koo <Anthony.Koo@amd.com>
+Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
+Acked-by: Harry Wentland <harry.wentland@amd.com>
+---
+ drivers/gpu/drm/amd/display/modules/stats/stats.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/drivers/gpu/drm/amd/display/modules/stats/stats.c b/drivers/gpu/drm/amd/display/modules/stats/stats.c
+index 3f7d47f..fa0665d 100644
+--- a/drivers/gpu/drm/amd/display/modules/stats/stats.c
++++ b/drivers/gpu/drm/amd/display/modules/stats/stats.c
+@@ -240,7 +240,7 @@ void mod_stats_dump(struct mod_stats *mod_stats)
+ for (int i = 0; i < core_stats->entry_id; i++) {
+ if (event_index < core_stats->event_index &&
+ i == events[event_index].entry_id) {
+- DISPLAY_STATS("%s\n", events[event_index].event_string);
++ DISPLAY_STATS("==Event==%s\n", events[event_index].event_string);
+ event_index++;
+ } else if (time_index < core_stats->index &&
+ i == time[time_index].entry_id) {
+--
+2.7.4
+