Commit 71325aa5 authored by Suraj Kandpal's avatar Suraj Kandpal
Browse files

drm/i915/dpll: Rename intel_compute_dpll



Rename intel_compute_dpll to intel_dpll_compute in an
effort to make sure all function names that are exported have
the filename at start.

Signed-off-by: default avatarSuraj Kandpal <suraj.kandpal@intel.com>
Reviewed-by: default avatarJani Nikula <jani.nikula@intel.com>
Link: https://lore.kernel.org/r/20250515071801.2221120-14-suraj.kandpal@intel.com
parent bb90401b
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -1162,7 +1162,7 @@ static int hsw_crtc_compute_clock(struct intel_atomic_state *state,
	    intel_crtc_has_type(crtc_state, INTEL_OUTPUT_DSI))
		return 0;

	ret = intel_compute_dplls(state, crtc, encoder);
	ret = intel_dpll_compute(state, crtc, encoder);
	if (ret)
		return ret;

@@ -1224,7 +1224,7 @@ static int mtl_crtc_compute_clock(struct intel_atomic_state *state,
	if (ret)
		return ret;

	/* TODO: Do the readback via intel_compute_dplls() */
	/* TODO: Do the readback via intel_dpll_compute() */
	crtc_state->port_clock = intel_cx0pll_calc_port_clock(encoder, &crtc_state->dpll_hw_state.cx0pll);

	crtc_state->hw.adjusted_mode.crtc_clock = intel_crtc_dotclock(crtc_state);
@@ -1395,7 +1395,7 @@ static int ilk_crtc_compute_clock(struct intel_atomic_state *state,
	ilk_compute_dpll(crtc_state, &crtc_state->dpll,
			 &crtc_state->dpll);

	ret = intel_compute_dplls(state, crtc, NULL);
	ret = intel_dpll_compute(state, crtc, NULL);
	if (ret)
		return ret;

+4 −4
Original line number Diff line number Diff line
@@ -4361,7 +4361,7 @@ void intel_dpll_init(struct intel_display *display)
}

/**
 * intel_compute_dplls - compute DPLL state CRTC and encoder combination
 * intel_dpll_compute - compute DPLL state CRTC and encoder combination
 * @state: atomic state
 * @crtc: CRTC to compute DPLLs for
 * @encoder: encoder
@@ -4374,7 +4374,7 @@ void intel_dpll_init(struct intel_display *display)
 * Returns:
 * 0 on success, negative error code on failure.
 */
int intel_compute_dplls(struct intel_atomic_state *state,
int intel_dpll_compute(struct intel_atomic_state *state,
		       struct intel_crtc *crtc,
		       struct intel_encoder *encoder)
{
+3 −3
Original line number Diff line number Diff line
@@ -396,7 +396,7 @@ void assert_dpll(struct intel_display *display,
		 bool state);
#define assert_dpll_enabled(d, p) assert_dpll(d, p, true)
#define assert_dpll_disabled(d, p) assert_dpll(d, p, false)
int intel_compute_dplls(struct intel_atomic_state *state,
int intel_dpll_compute(struct intel_atomic_state *state,
		       struct intel_crtc *crtc,
		       struct intel_encoder *encoder);
int intel_dpll_reserve(struct intel_atomic_state *state,