Skip to content

Make DC logging more configurable

Harry Wentland amd-gfx 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 1 replyIn review
  2. v13 patches 12 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm/amdgpu: Add dc_log module parameterdrivers/gpu/drm/amd/amdgpu/amdgpu.h drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c+5 -00 replies
2/3drm/amd/display: Pass log_mask from DMdrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c drivers/gpu/drm/amd/display/dc/basics/logger.c drivers/gpu/drm/amd/display/dc/core/dc.c +3 more+42 -390 replies
3/3drm/amd/display: Reduce DC chattinessdrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c drivers/gpu/drm/amd/display/include/logger_types.h+42 -351 reply

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchAlex Deucher
1/3
2/3
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/3] Make DC logging more configurable

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(-)
Signature · 6 lines
2.11.0

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx