Skip to content

drm: drm debug and error logging improvements

Jani Nikula dri-devel intel-gfx 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8drm/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 -80 replies
2/8drm/print: move enum drm_debug_category etc. earlier in drm_print.hinclude/drm/drm_print.h+95 -950 replies
3/8drm/print: add drm_dbg_printer() for drm device specific printerdrivers/gpu/drm/drm_print.c include/drm/drm_print.h+45 -00 replies
4/8drm/dp_mst: switch from drm_debug_printer() to device specific drm_dbg_printer()drivers/gpu/drm/display/drm_dp_mst_topology.c+14 -90 replies
5/8drm/mode: switch from drm_debug_printer() to device specific drm_dbg_printer()drivers/gpu/drm/drm_mode_config.c+1 -10 replies
6/8drm/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 -290 replies
7/8drm/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 -60 replies
8/8drm/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 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/8] drm: drm debug and error logging improvements

Make drm_err_printer() drm device specific, and add drm device specific drm_dbg_printer(). Switch code over to use them.

Jani Nikula (8):
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()

 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_print.c                   |  28 ++-
 .../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 +-
 include/drm/display/drm_dp_helper.h           |   3 +-
 include/drm/drm_print.h                       | 217 ++++++++++--------
 16 files changed, 209 insertions(+), 149 deletions(-)
Signature · 1 line
2.39.2