summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/include/logger_types.h
diff options
context:
space:
mode:
authorHarry Wentland <harry.wentland@amd.com>2017-09-13 03:04:48 +0300
committerAlex Deucher <alexander.deucher@amd.com>2017-09-27 01:17:43 +0300
commitf1ad2f5efd29dc838222f37281675a2623714538 (patch)
treeddbb66cfd23c52baada0f78ff0862d321fcc3d8b /drivers/gpu/drm/amd/display/include/logger_types.h
parent01a526f3dee9abe1e2db9e37e4ceb4149f8ae77b (diff)
downloadlinux-f1ad2f5efd29dc838222f37281675a2623714538.tar.xz
drm/amd/display: Reduce DC chattiness
Log DC init but default log level to 0 (default for amdgpu_dc_log) otherwise. Bug reporters can still make DC more chatty by using the dc_log module param. amdgpu.dc_log = 1 v2: Only provide runtime option, no compile time config Signed-off-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/include/logger_types.h')
-rw-r--r--drivers/gpu/drm/amd/display/include/logger_types.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/include/logger_types.h b/drivers/gpu/drm/amd/display/include/logger_types.h
index 044805ccac25..1f22e84cedb9 100644
--- a/drivers/gpu/drm/amd/display/include/logger_types.h
+++ b/drivers/gpu/drm/amd/display/include/logger_types.h
@@ -70,6 +70,9 @@ enum dc_log_type {
LOG_SECTION_TOTAL_COUNT
};
+#define DC_MIN_LOG_MASK ((1 << LOG_ERROR) | \
+ (1 << LOG_DETECTION_EDID_PARSER))
+
#define DC_DEFAULT_LOG_MASK ((1 << LOG_ERROR) | \
(1 << LOG_WARNING) | \
(1 << LOG_EVENT_MODE_SET) | \