Commit 3b65a01a authored by Suraj Kandpal's avatar Suraj Kandpal
Browse files

drm/i915/dpll: Rename intel_unreference_dpll_crtc



Rename intel_unreference_dpll_crtc to intel_dpll_crtc_put
in an effort to keep names of exported functions start with the filename.

--v2
-Make the new name more sensible [Jani]

Signed-off-by: default avatarSuraj Kandpal <suraj.kandpal@intel.com>
Reviewed-by: default avatarMika Kahola <mika.kahola@intel.com>
Link: https://lore.kernel.org/r/20250515071801.2221120-11-suraj.kandpal@intel.com
parent 38c5854a
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -451,7 +451,7 @@ intel_reference_dpll(struct intel_atomic_state *state,
}

/**
 * intel_unreference_dpll_crtc - Drop a DPLL reference for a CRTC
 * intel_dpll_crtc_put - Drop a DPLL reference for a CRTC
 * @crtc: CRTC on which behalf the reference is dropped
 * @pll: DPLL for which the reference is dropped
 * @dpll_state: the DPLL atomic state in which the reference is tracked
@@ -459,7 +459,7 @@ intel_reference_dpll(struct intel_atomic_state *state,
 * Drop a reference for @pll tracking the end of use of it by @crtc.
 */
void
intel_unreference_dpll_crtc(const struct intel_crtc *crtc,
intel_dpll_crtc_put(const struct intel_crtc *crtc,
		    const struct intel_dpll *pll,
		    struct intel_dpll_state *dpll_state)
{
@@ -481,7 +481,7 @@ static void intel_unreference_dpll(struct intel_atomic_state *state,

	dpll_state = intel_atomic_get_dpll_state(&state->base);

	intel_unreference_dpll_crtc(crtc, pll, &dpll_state[pll->index]);
	intel_dpll_crtc_put(crtc, pll, &dpll_state[pll->index]);
}

static void intel_put_dpll(struct intel_atomic_state *state,
+3 −3
Original line number Diff line number Diff line
@@ -404,7 +404,7 @@ int intel_reserve_dplls(struct intel_atomic_state *state,
			struct intel_encoder *encoder);
void intel_release_dplls(struct intel_atomic_state *state,
			 struct intel_crtc *crtc);
void intel_unreference_dpll_crtc(const struct intel_crtc *crtc,
void intel_dpll_crtc_put(const struct intel_crtc *crtc,
			 const struct intel_dpll *pll,
			 struct intel_dpll_state *shared_dpll_state);
void icl_set_active_port_dpll(struct intel_crtc_state *crtc_state,
+3 −3
Original line number Diff line number Diff line
@@ -93,7 +93,7 @@ static void intel_crtc_disable_noatomic_begin(struct intel_crtc *crtc,
	crtc->base.enabled = false;

	if (crtc_state->intel_dpll)
		intel_unreference_dpll_crtc(crtc,
		intel_dpll_crtc_put(crtc,
				    crtc_state->intel_dpll,
				    &crtc_state->intel_dpll->state);
}