Skip to content

drm/i915/dp: clean up DP testing

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9drm/i915/dp: split out intel_dp_test.[ch] to a dedicated filedrivers/gpu/drm/i915/Makefile drivers/gpu/drm/i915/display/g4x_dp.c drivers/gpu/drm/i915/display/intel_ddi.c +6 more+533 -4890 replies
2/9drm/i915/dp: fix style issues in intel_dp_test.cdrivers/gpu/drm/i915/display/intel_dp_test.c+13 -130 replies
3/9drm/i915/dp: convert intel_dp_test.c struct intel_displaydrivers/gpu/drm/i915/display/intel_dp_test.c+63 -600 replies
4/9drm/i915/dp: clean up intel_dp_test.[ch] interfacedrivers/gpu/drm/i915/display/g4x_dp.c drivers/gpu/drm/i915/display/intel_ddi.c drivers/gpu/drm/i915/display/intel_dp.c +3 more+23 -230 replies
5/9drm/i915/dp: move DP test debugfs files next to the functionalitydrivers/gpu/drm/i915/display/intel_display_debugfs.c drivers/gpu/drm/i915/display/intel_dp_test.c drivers/gpu/drm/i915/display/intel_dp_test.h+221 -1950 replies
6/9drm/i915/dp: fix style issues in DP test debugfsdrivers/gpu/drm/i915/display/intel_dp_test.c+6 -30 replies
7/9drm/i915/display: remove the loop in fifo underrun debugfs file creationdrivers/gpu/drm/i915/display/intel_display_debugfs.c+2 -150 replies
8/9drm/i915/dp: convert DP test debugfs to struct intel_displaydrivers/gpu/drm/i915/display/intel_dp_test.c+12 -130 replies
9/9drm/i915/dp: add intel_dp_test_reset() and intel_dp_test_short_pulse()drivers/gpu/drm/i915/display/intel_dp.c drivers/gpu/drm/i915/display/intel_dp_test.c drivers/gpu/drm/i915/display/intel_dp_test.h+42 -240 replies

Reviews trailers per patch

None of the 9 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchVille Syrjälä
SeriesR-b
1/9
2/9
3/9
4/9
5/9
6/9
7/9
8/9
9/9

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 0/9] drm/i915/dp: clean up DP testing

Whenever I look at doing anything in intel_dp.c I think it's grown too big. It's over 7k lines.

The DP test functionality is fairly isolated, and mostly irrelevant for normal operation. Move it all to its own file. This reduces intel_dp.c by about 500 lines, and intel_display_debugfs.c by about 200 lines. And intel_dp->compliance is now fully handled within intel_dp_test.c.

BR,
Jani.

Jani Nikula (9):
drm/i915/dp: split out intel_dp_test.[ch] to a dedicated file drm/i915/dp: fix style issues in intel_dp_test.c drm/i915/dp: convert intel_dp_test.c struct intel_display drm/i915/dp: clean up intel_dp_test.[ch] interface drm/i915/dp: move DP test debugfs files next to the functionality drm/i915/dp: fix style issues in DP test debugfs drm/i915/display: remove the loop in fifo underrun debugfs file
creation
drm/i915/dp: convert DP test debugfs to struct intel_display drm/i915/dp: add intel_dp_test_reset() and intel_dp_test_short_pulse()

 drivers/gpu/drm/i915/Makefile                 |   1 +
 drivers/gpu/drm/i915/display/g4x_dp.c         |   7 +-
 drivers/gpu/drm/i915/display/intel_ddi.c      |   7 +-
 .../drm/i915/display/intel_display_debugfs.c  | 214 +----
 drivers/gpu/drm/i915/display/intel_dp.c       | 520 +-----------
 drivers/gpu/drm/i915/display/intel_dp.h       |   9 +-
 drivers/gpu/drm/i915/display/intel_dp_mst.c   |   5 +-
 drivers/gpu/drm/i915/display/intel_dp_test.c  | 765 ++++++++++++++++++
 drivers/gpu/drm/i915/display/intel_dp_test.h  |  23 +
 drivers/gpu/drm/xe/Makefile                   |   1 +
 10 files changed, 816 insertions(+), 736 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/display/intel_dp_test.c
 create mode 100644 drivers/gpu/drm/i915/display/intel_dp_test.h
Signature · 1 line
2.39.2