[PATCH v2 0/3] Make DC logging more configurable
Harry Wentland
harry.wentland at amd.com
Fri Sep 15 23:51:48 UTC 2017
We shouldn't be as chatty as we are, sitting in the kernel. This
patchset reduces the default log levels greatly but still allows
bug reporters and internal teams run with previous log levels, using
a dc_log module parameter.
Going forward we'll look into converting the existing logs into
DRM_DEBUG_KMS and/or the dynamic debug log system.
v2: Dont' use compile time option, only runtime param
Harry Wentland (3):
drm/amdgpu: Add dc_log module parameter
drm/amd/display: Pass log_mask from DM
drm/amd/display: Reduce DC chattiness
drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 +
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 4 ++
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 75 ++++++++++++----------
drivers/gpu/drm/amd/display/dc/basics/logger.c | 41 ++----------
drivers/gpu/drm/amd/display/dc/core/dc.c | 2 +-
drivers/gpu/drm/amd/display/dc/dc.h | 1 +
.../gpu/drm/amd/display/include/logger_interface.h | 2 +-
drivers/gpu/drm/amd/display/include/logger_types.h | 35 ++++++++++
8 files changed, 88 insertions(+), 73 deletions(-)
--
2.11.0
More information about the amd-gfx
mailing list