diff options
author | Harry Wentland <harry.wentland@amd.com> | 2017-09-13 03:04:48 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-09-27 01:17:43 +0300 |
commit | f1ad2f5efd29dc838222f37281675a2623714538 (patch) | |
tree | ddbb66cfd23c52baada0f78ff0862d321fcc3d8b /drivers/gpu/drm/amd/display/include/logger_types.h | |
parent | 01a526f3dee9abe1e2db9e37e4ceb4149f8ae77b (diff) | |
download | linux-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.h | 3 |
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) | \ |