On Thu, Dec 19, 2024 at 11:33:52PM +0200, Jani Nikula wrote: > intel_dp_mst_compute_m_n() doesn't need the connector. Remove the > parameter. > > Signed-off-by: Jani Nikula <jani.nikula@xxxxxxxxx> Reviewed-by: Imre Deak <imre.deak@xxxxxxxxx> > --- > drivers/gpu/drm/i915/display/intel_dp_mst.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/drivers/gpu/drm/i915/display/intel_dp_mst.c b/drivers/gpu/drm/i915/display/intel_dp_mst.c > index 50426ba5bdeb..f52f9c968adb 100644 > --- a/drivers/gpu/drm/i915/display/intel_dp_mst.c > +++ b/drivers/gpu/drm/i915/display/intel_dp_mst.c > @@ -167,7 +167,6 @@ static int intel_dp_mst_bw_overhead(const struct intel_crtc_state *crtc_state, > } > > static void intel_dp_mst_compute_m_n(const struct intel_crtc_state *crtc_state, > - const struct intel_connector *connector, > int overhead, > int bpp_x16, > 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, > remote_bw_overhead = intel_dp_mst_bw_overhead(crtc_state, > true, dsc_slice_count, link_bpp_x16); > > - intel_dp_mst_compute_m_n(crtc_state, connector, > + intel_dp_mst_compute_m_n(crtc_state, > local_bw_overhead, > link_bpp_x16, > &crtc_state->dp_m_n); > -- > 2.39.5 >