Skip to content

drm/trace: Mirror DRM debug logs to tracefs

Sean Paul amd-gfx dri-devel intel-gfx linux-arm-msm linux-doc nouveau 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest posting 2/214 patches 22 repliesIn review
  2. v6 posting 1/214 patches 2 repliesSuperseded
  3. v513 patches 6 repliesSuperseded

Patches in v6 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14drm/mipi_dbi: Convert pr_debug calls to DRM_DEBUG_DRIVERdrivers/gpu/drm/drm_mipi_dbi.c+2 -61 reply
2/14drm/sil164: Convert dev_printk to drm_dev_dbgdrivers/gpu/drm/i2c/sil164_drv.c+4 -81 reply
3/14drm/i915/utils: Replace dev_printk with drm helpersdrivers/gpu/drm/i915/i915_utils.c+2 -31 reply
4/14drm/msm/dpu: Replace definitions for dpu debug macrosdrivers/gpu/drm/msm/disp/dpu1/dpu_kms.h+4 -162 replies
5/14drm/print: rename drm_debug* to be more syslog-centricdrivers/gpu/drm/drm_print.c include/drm/drm_print.h+15 -104 replies
6/14drm/amd: Gate i2c transaction logs on drm_debug_syslogdrivers/gpu/drm/amd/amdgpu/smu_v11_0_i2c.c+2 -20 replies
7/14drm/etnaviv: Change buffer dump checks to target syslogdrivers/gpu/drm/etnaviv/etnaviv_buffer.c+4 -41 reply
8/14drm/nouveau: Change debug checks to specifically target syslogdrivers/gpu/drm/nouveau/nouveau_drv.h+2 -20 replies
9/14drm/i915: Change infoframe debug checks to specify syslogdrivers/gpu/drm/i915/display/intel_display.c+2 -20 replies
10/14drm/print: Add drm_debug_category_printerdrivers/gpu/drm/drm_print.c include/drm/drm_print.h+33 -01 reply
11/14drm/mst: Convert debug printers to debug category printersdrivers/gpu/drm/drm_dp_mst_topology.c+6 -31 reply
12/14drm/i915: Use debug category printer for welcome messagedrivers/gpu/drm/i915/i915_drv.c+2 -10 replies
13/14drm/atomic: Use debug category printer for atomic state printerdrivers/gpu/drm/drm_atomic_uapi.c+1 -11 reply
14/14drm/print: Add tracefs support to the drm logging helpersDocumentation/gpu/drm-uapi.rst drivers/gpu/drm/drm_drv.c drivers/gpu/drm/drm_print.c +1 more+255 -404 replies

Reviews trailers per patch

8 of 14 patches have a Reviewed-by or Acked-by.

PatchChristian KönigLyude PaulPekka PaalanenLucas StachRodrigo SiqueiraAbhinav Kumar
1/14
2/14
3/14
4/14R-b
5/14R-b R-b
6/14A-b
7/14A-b
8/14
9/14
10/14R-b
11/14R-b R-b
12/14
13/14R-b
14/14A-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 6 reviewers.

Read the v6 thread

Cover letter [RESEND PATCH v6 00/14] drm/trace: Mirror DRM debug logs to tracefs

From: Sean Paul <[email protected]>

Hi all,
I just had the pleasure of rebasing this set on our CrOS downstream kernel and wanted to resend it for consideration once again. There hasn't been any resistence to the set AFAIK, just perhaps not enough motivation for anyone to hit the go bit. There was some interest from the msm folks about a month ago, and it has been an invaluable tool on CrOS for the past ~year. Hopefully someone can dig into this and provide some feedback so we can move this forward.

Thanks!

Sean

Changes since last v6:
-Rebased on drm-tip

Original v6 of the set available here:
https://patchwork.freedesktop.org/series/78133/
https://lore.kernel.org/dri-devel/[email protected]/

Sean Paul (14):
drm/mipi_dbi: Convert pr_debug calls to DRM_DEBUG_DRIVER drm/sil164: Convert dev_printk to drm_dev_dbg drm/i915/utils: Replace dev_printk with drm helpers drm/msm/dpu: Replace definitions for dpu debug macros drm/print: rename drm_debug* to be more syslog-centric drm/amd: Gate i2c transaction logs on drm_debug_syslog drm/etnaviv: Change buffer dump checks to target syslog drm/nouveau: Change debug checks to specifically target syslog drm/i915: Change infoframe debug checks to specify syslog drm/print: Add drm_debug_category_printer
drm/mst: Convert debug printers to debug category printers drm/i915: Use debug category printer for welcome message drm/atomic: Use debug category printer for atomic state printer drm/print: Add tracefs support to the drm logging helpers

 Documentation/gpu/drm-uapi.rst               |   6 +
 drivers/gpu/drm/amd/amdgpu/smu_v11_0_i2c.c   |   4 +-
 drivers/gpu/drm/drm_atomic_uapi.c            |   2 +-
 drivers/gpu/drm/drm_dp_mst_topology.c        |   9 +-
 drivers/gpu/drm/drm_drv.c                    |   3 +
 drivers/gpu/drm/drm_mipi_dbi.c               |   8 +-
 drivers/gpu/drm/drm_print.c                  | 242 ++++++++++++++++---
 drivers/gpu/drm/etnaviv/etnaviv_buffer.c     |   8 +-
 drivers/gpu/drm/i2c/sil164_drv.c             |  12 +-
 drivers/gpu/drm/i915/display/intel_display.c |   4 +-
 drivers/gpu/drm/i915/i915_drv.c              |   3 +-
 drivers/gpu/drm/i915/i915_utils.c            |   5 +-
 drivers/gpu/drm/msm/disp/dpu1/dpu_kms.h      |  20 +-
 drivers/gpu/drm/nouveau/nouveau_drv.h        |   4 +-
 include/drm/drm_print.h                      |  96 +++++++-
 15 files changed, 331 insertions(+), 95 deletions(-)
Signature · 1 line
Sean Paul, Software Engineer, Google / Chromium OS