diff options
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/0269-drm-amd-display-Less-log-spam.patch')
-rw-r--r-- | common/recipes-kernel/linux/linux-yocto-4.14.71/0269-drm-amd-display-Less-log-spam.patch | 102 |
1 files changed, 0 insertions, 102 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/0269-drm-amd-display-Less-log-spam.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/0269-drm-amd-display-Less-log-spam.patch deleted file mode 100644 index 348ff638..00000000 --- a/common/recipes-kernel/linux/linux-yocto-4.14.71/0269-drm-amd-display-Less-log-spam.patch +++ /dev/null @@ -1,102 +0,0 @@ -From 7a0c2fa7344d476a867ff3550d4776df26ea37ed Mon Sep 17 00:00:00 2001 -From: Jordan Lazare <Jordan.Lazare@amd.com> -Date: Wed, 8 Mar 2017 14:04:16 -0500 -Subject: [PATCH 0269/4131] drm/amd/display: Less log spam - -Signed-off-by: Jordan Lazare <Jordan.Lazare@amd.com> -Acked-by: Harry Wentland <Harry.Wentland@amd.com> -Reviewed-by: Charlene Liu <Charlene.Liu@amd.com> -Signed-off-by: Alex Deucher <alexander.deucher@amd.com> ---- - drivers/gpu/drm/amd/display/dc/basics/logger.c | 4 +++- - drivers/gpu/drm/amd/display/dc/bios/bios_parser.c | 2 +- - drivers/gpu/drm/amd/display/dc/dce/dce_audio.c | 4 ++-- - drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c | 4 ++-- - drivers/gpu/drm/amd/display/include/logger_types.h | 1 + - 5 files changed, 9 insertions(+), 6 deletions(-) - -diff --git a/drivers/gpu/drm/amd/display/dc/basics/logger.c b/drivers/gpu/drm/amd/display/dc/basics/logger.c -index a5625a3..8f44973 100644 ---- a/drivers/gpu/drm/amd/display/dc/basics/logger.c -+++ b/drivers/gpu/drm/amd/display/dc/basics/logger.c -@@ -32,6 +32,7 @@ - static const struct dc_log_type_info log_type_info_tbl[] = { - {LOG_ERROR, "Error"}, - {LOG_WARNING, "Warning"}, -+ {LOG_DEBUG, "Debug"}, - {LOG_DC, "DC_Interface"}, - {LOG_SURFACE, "Surface"}, - {LOG_HW_HOTPLUG, "HW_Hotplug"}, -@@ -80,12 +81,13 @@ static const struct dc_log_type_info log_type_info_tbl[] = { - (1 << LOG_SYNC) | \ - (1 << LOG_BANDWIDTH_VALIDATION) | \ - (1 << LOG_MST) | \ -- (1 << LOG_BIOS) | \ - (1 << LOG_DETECTION_EDID_PARSER) | \ - (1 << LOG_DETECTION_DP_CAPS) | \ - (1 << LOG_BACKLIGHT)) | \ - (1 << LOG_I2C_AUX) | \ - (1 << LOG_IF_TRACE) /* | \ -+ (1 << LOG_DEBUG) | \ -+ (1 << LOG_BIOS) | \ - (1 << LOG_SURFACE) | \ - (1 << LOG_SCALER) | \ - (1 << LOG_DML) | \ -diff --git a/drivers/gpu/drm/amd/display/dc/bios/bios_parser.c b/drivers/gpu/drm/amd/display/dc/bios/bios_parser.c -index 656c39a..50163a0 100644 ---- a/drivers/gpu/drm/amd/display/dc/bios/bios_parser.c -+++ b/drivers/gpu/drm/amd/display/dc/bios/bios_parser.c -@@ -3299,7 +3299,7 @@ static enum bp_result patch_bios_image_from_ext_display_connection_info( - opm_object, - &ext_display_connection_info_tbl) != BP_RESULT_OK) { - -- dm_logger_write(bp->base.ctx->logger, LOG_BIOS, -+ dm_logger_write(bp->base.ctx->logger, LOG_WARNING, - "%s: Failed to read Connection Info Table", __func__); - return BP_RESULT_UNSUPPORTED; - } -diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_audio.c b/drivers/gpu/drm/amd/display/dc/dce/dce_audio.c -index 7f52e39..b94c1e5 100644 ---- a/drivers/gpu/drm/amd/display/dc/dce/dce_audio.c -+++ b/drivers/gpu/drm/amd/display/dc/dce/dce_audio.c -@@ -773,8 +773,8 @@ void dce_aud_wall_dto_setup( - crtc_info->calculated_pixel_clock, - &clock_info); - -- dm_logger_write(audio->ctx->logger, LOG_HW_SET_MODE,\ -- "\n************************%s:Input::requested_pixel_clock = %d"\ -+ dm_logger_write(audio->ctx->logger, LOG_HW_AUDIO,\ -+ "\n%s:Input::requested_pixel_clock = %d"\ - "calculated_pixel_clock =%d\n"\ - "audio_dto_module = %d audio_dto_phase =%d \n\n", __func__,\ - crtc_info->requested_pixel_clock,\ -diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c b/drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c -index d6662fa..f3e1a29 100644 ---- a/drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c -+++ b/drivers/gpu/drm/amd/display/dc/dce/dce_stream_encoder.c -@@ -1093,8 +1093,8 @@ static void dce110_se_setup_hdmi_audio( - crtc_info->requested_pixel_clock, - crtc_info->calculated_pixel_clock, - &audio_clock_info)) { -- dm_logger_write(enc->ctx->logger, LOG_HW_SET_MODE, -- "\n*********************%s:Input::requested_pixel_clock = %d"\ -+ dm_logger_write(enc->ctx->logger, LOG_HW_AUDIO, -+ "\n%s:Input::requested_pixel_clock = %d"\ - "calculated_pixel_clock = %d \n", __func__,\ - crtc_info->requested_pixel_clock,\ - crtc_info->calculated_pixel_clock); -diff --git a/drivers/gpu/drm/amd/display/include/logger_types.h b/drivers/gpu/drm/amd/display/include/logger_types.h -index babd652..832d17e 100644 ---- a/drivers/gpu/drm/amd/display/include/logger_types.h -+++ b/drivers/gpu/drm/amd/display/include/logger_types.h -@@ -35,6 +35,7 @@ struct dal_logger; - enum dc_log_type { - LOG_ERROR = 0, - LOG_WARNING, -+ LOG_DEBUG, - LOG_DC, - LOG_SURFACE, - LOG_HW_HOTPLUG, --- -2.7.4 - |