Skip to content

Commit 2f6ba89

Browse files
committed
drm/i915/mst: drop connector parameter from intel_dp_mst_bw_overhead()
intel_dp_mst_bw_overhead() 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/e1379aca0748e392d8a232135b823deec783e829.1735912293.git.jani.nikula@intel.com
1 parent 79cb1fa commit 2f6ba89

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,6 @@ static int intel_dp_mst_max_dpt_bpp(const struct intel_crtc_state *crtc_state,
139139
}
140140

141141
static int intel_dp_mst_bw_overhead(const struct intel_crtc_state *crtc_state,
142-
const struct intel_connector *connector,
143142
bool ssc, int dsc_slice_count, int bpp_x16)
144143
{
145144
const struct drm_display_mode *adjusted_mode =
@@ -278,9 +277,9 @@ static int mst_stream_find_vcpi_slots_for_bpp(struct intel_dp *intel_dp,
278277
link_bpp_x16 = fxp_q4_from_int(dsc ? bpp :
279278
intel_dp_output_bpp(crtc_state->output_format, bpp));
280279

281-
local_bw_overhead = intel_dp_mst_bw_overhead(crtc_state, connector,
280+
local_bw_overhead = intel_dp_mst_bw_overhead(crtc_state,
282281
false, dsc_slice_count, link_bpp_x16);
283-
remote_bw_overhead = intel_dp_mst_bw_overhead(crtc_state, connector,
282+
remote_bw_overhead = intel_dp_mst_bw_overhead(crtc_state,
284283
true, dsc_slice_count, link_bpp_x16);
285284

286285
intel_dp_mst_compute_m_n(crtc_state, connector,

0 commit comments

Comments
 (0)