Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/9] drm/i915/dp: clean up DP testing
@ 2024-09-20 11:56 Jani Nikula
  2024-09-20 11:56 ` [PATCH 1/9] drm/i915/dp: split out intel_dp_test.[ch] to a dedicated file Jani Nikula
                   ` (17 more replies)
  0 siblings, 18 replies; 20+ messages in thread
From: Jani Nikula @ 2024-09-20 11:56 UTC (permalink / raw)
  To: intel-gfx, intel-xe; +Cc: jani.nikula

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

-- 
2.39.2


^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2024-09-23  7:33 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-20 11:56 [PATCH 0/9] drm/i915/dp: clean up DP testing Jani Nikula
2024-09-20 11:56 ` [PATCH 1/9] drm/i915/dp: split out intel_dp_test.[ch] to a dedicated file Jani Nikula
2024-09-20 11:56 ` [PATCH 2/9] drm/i915/dp: fix style issues in intel_dp_test.c Jani Nikula
2024-09-20 11:56 ` [PATCH 3/9] drm/i915/dp: convert intel_dp_test.c struct intel_display Jani Nikula
2024-09-20 11:56 ` [PATCH 4/9] drm/i915/dp: clean up intel_dp_test.[ch] interface Jani Nikula
2024-09-20 11:56 ` [PATCH 5/9] drm/i915/dp: move DP test debugfs files next to the functionality Jani Nikula
2024-09-20 11:56 ` [PATCH 6/9] drm/i915/dp: fix style issues in DP test debugfs Jani Nikula
2024-09-20 11:56 ` [PATCH 7/9] drm/i915/display: remove the loop in fifo underrun debugfs file creation Jani Nikula
2024-09-20 11:56 ` [PATCH 8/9] drm/i915/dp: convert DP test debugfs to struct intel_display Jani Nikula
2024-09-20 11:56 ` [PATCH 9/9] drm/i915/dp: add intel_dp_test_reset() and intel_dp_test_short_pulse() Jani Nikula
2024-09-20 12:06 ` ✓ CI.Patch_applied: success for drm/i915/dp: clean up DP testing Patchwork
2024-09-20 12:07 ` ✗ CI.checkpatch: warning " Patchwork
2024-09-20 12:08 ` ✓ CI.KUnit: success " Patchwork
2024-09-20 12:31 ` ✓ CI.Build: " Patchwork
2024-09-20 12:33 ` ✓ CI.Hooks: " Patchwork
2024-09-20 12:34 ` ✗ CI.checksparse: warning " Patchwork
2024-09-20 12:58 ` ✓ CI.BAT: success " Patchwork
2024-09-20 13:34 ` [PATCH 0/9] " Ville Syrjälä
2024-09-23  7:33   ` Jani Nikula
2024-09-20 16:19 ` ✗ CI.FULL: failure for " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox