Skip to content

drm/i915: Use drm_printer more

Ville Syrjala intel-gfx lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 27 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12drm/i915: Indicate which pipe failed the fastset check overalldrivers/gpu/drm/i915/display/intel_display.c+4 -211 replies
2/12drm/i915: Include CRTC info in infoframe mismatch printsdrivers/gpu/drm/i915/display/intel_display.c+9 -52 replies
3/12drm/i915: Include CRTC info in VSC SDP mismatch printsdrivers/gpu/drm/i915/display/intel_display.c+8 -51 reply
4/12drm/i915: Convert pipe_config_infoframe_mismatch() to drm_printerdrivers/gpu/drm/i915/display/intel_display.c+18 -141 reply
5/12drm/i915: Convert pipe_config_buffer_mismatch() to drm_printerdrivers/gpu/drm/i915/display/intel_display.c+19 -181 reply
6/12drm/i915: Convert intel_dpll_dump_hw_state() to drm_printerdrivers/gpu/drm/i915/display/intel_crtc_state_dump.c drivers/gpu/drm/i915/display/intel_display.c drivers/gpu/drm/i915/display/intel_dpll_mgr.c +1 more+67 -724 replies
7/12drm/i915: Use drm_printer more extensively in intel_crtc_state_dump()drivers/gpu/drm/i915/display/intel_crtc_state_dump.c+87 -982 replies
8/12drm/i915: Convert the remaining state dump to drm_printerdrivers/gpu/drm/i915/display/intel_crtc_state_dump.c+60 -771 reply
9/12drm/i915: Skip intel_crtc_state_dump() if debugs aren't enableddrivers/gpu/drm/i915/display/intel_crtc_state_dump.c+3 -02 replies
10/12drm/i915: Relocate pipe_config_mismatch()drivers/gpu/drm/i915/display/intel_display.c+23 -231 reply
11/12drm/i915: Reuse pipe_config_mismatch() moredrivers/gpu/drm/i915/display/intel_display.c+10 -352 replies
12/12drm/i915: Create the printer only once in intel_pipe_config_compare()drivers/gpu/drm/i915/display/intel_display.c+46 -552 replies

Reviews trailers per patch

All 12 patches have a Reviewed-by or Acked-by.

PatchRodrigo ViviJani Nikula
1/12R-b
2/12R-b
3/12R-b
4/12R-b
5/12R-b
6/12R-b
7/12R-b
8/12R-b
9/12R-b
10/12R-b
11/12R-b R-b
12/12R-b R-b

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

Read the v1 thread

Cover letter [PATCH 00/12] drm/i915: Use drm_printer more

From: Ville Syrjälä <[email protected]>

Convert the entire state dumper and state checker to use drm_printer.

One can perhaps consider this as the first step towards hooking into .atomic_print_state(). Unfortunately that stuff is a full blown midlayer currently, so we'd first have to demidlayer it to make it work for us. The other annoying thing there is the format in which it currently prints stuff. Whoever wrote that had some kind of allergy towards whitespace, making the output not so great for human consumption, which is the primary use case for us.

Ville Syrjälä (12):
drm/i915: Indicate which pipe failed the fastset check overall drm/i915: Include CRTC info in infoframe mismatch prints drm/i915: Include CRTC info in VSC SDP mismatch prints drm/i915: Convert pipe_config_infoframe_mismatch() to drm_printer drm/i915: Convert pipe_config_buffer_mismatch() to drm_printer drm/i915: Convert intel_dpll_dump_hw_state() to drm_printer drm/i915: Use drm_printer more extensively in intel_crtc_state_dump() drm/i915: Convert the remaining state dump to drm_printer drm/i915: Skip intel_crtc_state_dump() if debugs aren't enabled drm/i915: Relocate pipe_config_mismatch()
drm/i915: Reuse pipe_config_mismatch() more
drm/i915: Create the printer only once in intel_pipe_config_compare()

 .../drm/i915/display/intel_crtc_state_dump.c  | 330 ++++++++----------
 drivers/gpu/drm/i915/display/intel_display.c  | 189 +++++-----
 drivers/gpu/drm/i915/display/intel_dpll_mgr.c | 105 +++---
 drivers/gpu/drm/i915/display/intel_dpll_mgr.h |   2 +
 4 files changed, 288 insertions(+), 338 deletions(-)
Signature · 1 line
2.43.0