Skip to content

Commit d7cde2e

Browse files
committed
drm/i915/mst: drop connector parameter from intel_dp_mst_compute_m_n()
intel_dp_mst_compute_m_n() doesn't need the connector. Remove the parameter. Reviewed-by: Imre Deak <[email protected]> Signed-off-by: Jani Nikula <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/eec2e9a2e2dc3d166ac94bb9de691246a14d3945.1735912293.git.jani.nikula@intel.com
1 parent 2f6ba89 commit d7cde2e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/gpu/drm/i915/display/intel_dp_mst.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,6 @@ static int intel_dp_mst_bw_overhead(const struct intel_crtc_state *crtc_state,
167167
}
168168

169169
static void intel_dp_mst_compute_m_n(const struct intel_crtc_state *crtc_state,
170-
const struct intel_connector *connector,
171170
int overhead,
172171
int bpp_x16,
173172
struct intel_link_m_n *m_n)
@@ -282,7 +281,7 @@ static int mst_stream_find_vcpi_slots_for_bpp(struct intel_dp *intel_dp,
282281
remote_bw_overhead = intel_dp_mst_bw_overhead(crtc_state,
283282
true, dsc_slice_count, link_bpp_x16);
284283

285-
intel_dp_mst_compute_m_n(crtc_state, connector,
284+
intel_dp_mst_compute_m_n(crtc_state,
286285
local_bw_overhead,
287286
link_bpp_x16,
288287
&crtc_state->dp_m_n);

0 commit comments

Comments
 (0)