Skip to content

drm/i915/dp_mst: Clean up active stream count tracking

Imre Deak intel-gfx intel-xe 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6drm/i915/dp: Rename intel_dp::link_trained to link.activedrivers/gpu/drm/i915/display/g4x_dp.c drivers/gpu/drm/i915/display/intel_ddi.c drivers/gpu/drm/i915/display/intel_display_types.h +3 more+12 -120 replies
2/6drm/i915/dp_mst: Add intel_dp_mst_{inc, dec}_active_streams()drivers/gpu/drm/i915/display/intel_dp_mst.c+27 -160 replies
3/6drm/i915/dp_mst: Remove stream count assert from intel_dp_check_mst_status()drivers/gpu/drm/i915/display/intel_dp.c+0 -20 replies
4/6drm/i915/dp_mst: Rename intel_dp_mst_encoder_active_links() to intel_dp_mst_active_streams()drivers/gpu/drm/i915/display/intel_ddi.c drivers/gpu/drm/i915/display/intel_dp_mst.c drivers/gpu/drm/i915/display/intel_dp_mst.h +1 more+20 -210 replies
5/6drm/i915/dp_mst: Use intel_dp_mst_active_streams() instead of open-coding itdrivers/gpu/drm/i915/display/intel_dp.c drivers/gpu/drm/i915/display/intel_dp_mst.c drivers/gpu/drm/i915/display/intel_hdcp.c+7 -60 replies
6/6drm/i915/dp_mst: Rename intel_dp::mst.active_links to mst.active_streamsdrivers/gpu/drm/i915/display/intel_display_types.h drivers/gpu/drm/i915/display/intel_dp_mst.c+7 -70 replies

Reviews trailers per patch

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

PatchJani Nikula
SeriesR-b
1/6
2/6
3/6
4/6
5/6
6/6

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/6] drm/i915/dp_mst: Clean up active stream count tracking

As requested by Jani, this patchset cleans up the MST active stream count tracking, using the logical name for the counter (stream vs. link) and adding helpers to simplify the functions where the counter is queried.

Cc Jani Nikula <[email protected]>

Imre Deak (6):
drm/i915/dp: Rename intel_dp::link_trained to link.active drm/i915/dp_mst: Add intel_dp_mst_{inc,dec}_active_streams() drm/i915/dp_mst: Remove stream count assert from
intel_dp_check_mst_status()
drm/i915/dp_mst: Rename intel_dp_mst_encoder_active_links() to
intel_dp_mst_active_streams()
drm/i915/dp_mst: Use intel_dp_mst_active_streams() instead of
open-coding it
drm/i915/dp_mst: Rename intel_dp::mst.active_links to
mst.active_streams

 drivers/gpu/drm/i915/display/g4x_dp.c         |  2 +-
 drivers/gpu/drm/i915/display/intel_ddi.c      | 10 +--
 .../drm/i915/display/intel_display_types.h    |  4 +-
 drivers/gpu/drm/i915/display/intel_dp.c       | 10 ++-
 .../drm/i915/display/intel_dp_link_training.c |  8 +--
 drivers/gpu/drm/i915/display/intel_dp_mst.c   | 66 +++++++++++--------
 drivers/gpu/drm/i915/display/intel_dp_mst.h   |  2 +-
 drivers/gpu/drm/i915/display/intel_hdcp.c     |  3 +-
 drivers/gpu/drm/i915/display/intel_tc.c       | 20 +++---
 9 files changed, 67 insertions(+), 58 deletions(-)
Signature · 1 line
2.44.2