Skip to content

drm: drm debug and error logging improvements

Jani Nikula dri-devel intel-gfx intel-xe 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 16 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10drm/print: make drm_err_printer() device specific by using drm_err()drivers/gpu/drm/drm_print.c drivers/gpu/drm/i915/gt/selftest_engine_heartbeat.c drivers/gpu/drm/i915/selftests/i915_active.c +1 more+18 -81 reply
2/10drm/print: move enum drm_debug_category etc. earlier in drm_print.hinclude/drm/drm_print.h+95 -951 reply
3/10drm/print: add drm_dbg_printer() for drm device specific printerdrivers/gpu/drm/drm_print.c include/drm/drm_print.h+45 -01 reply
4/10drm/dp_mst: switch from drm_debug_printer() to device specific drm_dbg_printer()drivers/gpu/drm/display/drm_dp_mst_topology.c+14 -91 reply
5/10drm/mode: switch from drm_debug_printer() to device specific drm_dbg_printer()drivers/gpu/drm/drm_mode_config.c+1 -11 reply
6/10drm/dp: switch drm_dp_vsc_sdp_log() to struct drm_printerdrivers/gpu/drm/display/drm_dp_helper.c drivers/gpu/drm/i915/display/intel_crtc_state_dump.c drivers/gpu/drm/i915/display/intel_display.c +1 more+23 -291 reply
7/10drm/i915: switch from drm_debug_printer() to device specific drm_dbg_printer()drivers/gpu/drm/i915/display/intel_display_driver.c drivers/gpu/drm/i915/gt/intel_engine_heartbeat.c drivers/gpu/drm/i915/gt/intel_reset.c +3 more+12 -61 reply
8/10drm/i915: use drm_printf() with the drm_err_printer intead of pr_err()drivers/gpu/drm/i915/gt/selftest_engine_heartbeat.c drivers/gpu/drm/i915/selftests/i915_active.c+5 -51 reply
9/10drm/xe: switch from drm_debug_printer() to device specific drm_dbg_printer()drivers/gpu/drm/xe/xe_gt.c drivers/gpu/drm/xe/xe_gt_topology.c drivers/gpu/drm/xe/xe_reg_sr.c+5 -34 replies
10/10drm: remove drm_debug_printer in favor of drm_dbg_printerdrivers/gpu/drm/drm_modeset_lock.c drivers/gpu/drm/drm_print.c drivers/gpu/drm/ttm/ttm_bo.c +1 more+2 -261 reply

Reviews trailers per patch

All 10 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchLuca CoelhoMaxime RipardLucas De Marchi
SeriesA-b
1/10R-b
2/10R-b
3/10R-b
4/10R-b
5/10R-b
6/10R-b
7/10R-b
8/10R-b
9/10R-b A-b
10/10R-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 3 reviewers.

Read the v1 thread

Cover letter [PATCH 00/10] drm: drm debug and error logging improvements

This is resend and more patches on top of [1]. I don't think I've changed anything since then.

BR,
Jani.

[1] https://patchwork.freedesktop.org/series/126873/

Jani Nikula (10):
drm/print: make drm_err_printer() device specific by using drm_err() drm/print: move enum drm_debug_category etc. earlier in drm_print.h drm/print: add drm_dbg_printer() for drm device specific printer drm/dp_mst: switch from drm_debug_printer() to device specific
drm_dbg_printer()
drm/mode: switch from drm_debug_printer() to device specific
drm_dbg_printer()
drm/dp: switch drm_dp_vsc_sdp_log() to struct drm_printer drm/i915: switch from drm_debug_printer() to device specific
drm_dbg_printer()
drm/i915: use drm_printf() with the drm_err_printer intead of pr_err() drm/xe: switch from drm_debug_printer() to device specific
drm_dbg_printer()
drm: remove drm_debug_printer in favor of drm_dbg_printer

 drivers/gpu/drm/display/drm_dp_helper.c       |  17 +-
 drivers/gpu/drm/display/drm_dp_mst_topology.c |  23 +-
 drivers/gpu/drm/drm_mode_config.c             |   2 +-
 drivers/gpu/drm/drm_modeset_lock.c            |   2 +-
 drivers/gpu/drm/drm_print.c                   |  29 ++-
 .../drm/i915/display/intel_crtc_state_dump.c  |   5 +-
 drivers/gpu/drm/i915/display/intel_display.c  |  27 ++-
 .../drm/i915/display/intel_display_driver.c   |   3 +-
 .../gpu/drm/i915/gt/intel_engine_heartbeat.c  |   3 +-
 drivers/gpu/drm/i915/gt/intel_reset.c         |   3 +-
 drivers/gpu/drm/i915/gt/intel_workarounds.c   |   3 +-
 drivers/gpu/drm/i915/gt/selftest_context.c    |   3 +-
 .../drm/i915/gt/selftest_engine_heartbeat.c   |  10 +-
 drivers/gpu/drm/i915/i915_driver.c            |   3 +-
 drivers/gpu/drm/i915/selftests/i915_active.c  |   8 +-
 drivers/gpu/drm/ttm/ttm_bo.c                  |   2 +-
 drivers/gpu/drm/xe/xe_gt.c                    |   2 +-
 drivers/gpu/drm/xe/xe_gt_topology.c           |   4 +-
 drivers/gpu/drm/xe/xe_reg_sr.c                |   2 +-
 include/drm/display/drm_dp_helper.h           |   3 +-
 include/drm/drm_print.h                       | 220 +++++++++---------
 21 files changed, 206 insertions(+), 168 deletions(-)
Signature · 1 line
2.39.2