mirror of
https://github.com/torvalds/linux.git
synced 2026-05-25 07:33:19 +02:00
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: Suraj Kandpal <suraj.kandpal@intel.com> Reviewed-by: Mika Kahola <mika.kahola@intel.com> Link: https://lore.kernel.org/r/20250515071801.2221120-11-suraj.kandpal@intel.com
This commit is contained in:
parent
38c5854a18
commit
3b65a01ab5
|
|
@ -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,9 +459,9 @@ 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,
|
||||
const struct intel_dpll *pll,
|
||||
struct intel_dpll_state *dpll_state)
|
||||
intel_dpll_crtc_put(const struct intel_crtc *crtc,
|
||||
const struct intel_dpll *pll,
|
||||
struct intel_dpll_state *dpll_state)
|
||||
{
|
||||
struct intel_display *display = to_intel_display(crtc);
|
||||
|
||||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -404,9 +404,9 @@ 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,
|
||||
const struct intel_dpll *pll,
|
||||
struct intel_dpll_state *shared_dpll_state);
|
||||
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,
|
||||
enum icl_port_dpll_id port_dpll_id);
|
||||
void intel_update_active_dpll(struct intel_atomic_state *state,
|
||||
|
|
|
|||
|
|
@ -93,9 +93,9 @@ 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,
|
||||
crtc_state->intel_dpll,
|
||||
&crtc_state->intel_dpll->state);
|
||||
intel_dpll_crtc_put(crtc,
|
||||
crtc_state->intel_dpll,
|
||||
&crtc_state->intel_dpll->state);
|
||||
}
|
||||
|
||||
static void set_encoder_for_connector(struct intel_connector *connector,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user