diff options
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/0676-drm-amd-display-Disable-timestamp-and-entry-heading.patch')
-rw-r--r-- | common/recipes-kernel/linux/linux-yocto-4.14.71/0676-drm-amd-display-Disable-timestamp-and-entry-heading.patch | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/0676-drm-amd-display-Disable-timestamp-and-entry-heading.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/0676-drm-amd-display-Disable-timestamp-and-entry-heading.patch new file mode 100644 index 00000000..0d05a160 --- /dev/null +++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/0676-drm-amd-display-Disable-timestamp-and-entry-heading.patch @@ -0,0 +1,45 @@ +From 9f4f357a4662fa194dbd2f6d72854d783d9b4ad1 Mon Sep 17 00:00:00 2001 +From: Yongqiang Sun <yongqiang.sun@amd.com> +Date: Tue, 25 Jul 2017 17:11:26 -0400 +Subject: [PATCH 0676/4131] drm/amd/display: Disable timestamp and entry + heading + +Signed-off-by: Yongqiang Sun <yongqiang.sun@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/basics/logger.c | 3 ++- + drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c | 2 +- + 2 files changed, 3 insertions(+), 2 deletions(-) + +diff --git a/drivers/gpu/drm/amd/display/dc/basics/logger.c b/drivers/gpu/drm/amd/display/dc/basics/logger.c +index 0b17374..dfd2378 100644 +--- a/drivers/gpu/drm/amd/display/dc/basics/logger.c ++++ b/drivers/gpu/drm/amd/display/dc/basics/logger.c +@@ -428,7 +428,8 @@ void dm_logger_open( + + logger->open_count++; + +- log_heading(entry); ++ if (log_type != LOG_DTN) ++ log_heading(entry); + } + + void dm_logger_close(struct log_entry *entry) +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 7c24e8f..03f4048 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 +@@ -2407,7 +2407,7 @@ static void dcn10_log_hw_state(struct core_dc *dc) + struct dc_context *dc_ctx = dc->ctx; + struct dce_hwseq *hws = dc->hwseq; + +- DTN_INFO("%s: Hello World", __func__); ++ DTN_INFO("Hello World"); + + if (REG(MPC_CRC_RESULT_GB)) + DTN_INFO("MPC_CRC_RESULT_GB:%d MPC_CRC_RESULT_C:%d MPC_CRC_RESULT_AR:%d\n", +-- +2.7.4 + |