[PATCH 0/3] Make DC logging more configurable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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. To
do that we use a module parameter and also make it a compile
time option.

One possibility would've been to expose all DC log levels through
the module parameter but I feel that would be too much for little
benefit. Going forward we can see if there's a better way of
dealing with logging.

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/Kconfig                | 10 +++
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c  | 80 ++++++++++++----------
 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 ++++++++++
 9 files changed, 103 insertions(+), 73 deletions(-)

-- 
2.11.0



[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux