mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 09:19:51 +00:00
![Jani Nikula](/assets/img/avatar_default.png)
The definitions are in the crtc and dpll files; move the declarations to the corresponding headers. Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20210427120315.12342-1-jani.nikula@intel.com
46 lines
1.7 KiB
C
46 lines
1.7 KiB
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2020 Intel Corporation
|
|
*/
|
|
|
|
#ifndef _INTEL_DPLL_H_
|
|
#define _INTEL_DPLL_H_
|
|
|
|
#include <linux/types.h>
|
|
|
|
struct dpll;
|
|
struct drm_i915_private;
|
|
struct intel_crtc;
|
|
struct intel_crtc_state;
|
|
enum pipe;
|
|
|
|
void intel_dpll_init_clock_hook(struct drm_i915_private *dev_priv);
|
|
int vlv_calc_dpll_params(int refclk, struct dpll *clock);
|
|
int pnv_calc_dpll_params(int refclk, struct dpll *clock);
|
|
int i9xx_calc_dpll_params(int refclk, struct dpll *clock);
|
|
void vlv_compute_dpll(struct intel_crtc *crtc,
|
|
struct intel_crtc_state *pipe_config);
|
|
void chv_compute_dpll(struct intel_crtc *crtc,
|
|
struct intel_crtc_state *pipe_config);
|
|
|
|
int vlv_force_pll_on(struct drm_i915_private *dev_priv, enum pipe pipe,
|
|
const struct dpll *dpll);
|
|
void vlv_force_pll_off(struct drm_i915_private *dev_priv, enum pipe pipe);
|
|
void i9xx_enable_pll(struct intel_crtc *crtc,
|
|
const struct intel_crtc_state *crtc_state);
|
|
void vlv_enable_pll(struct intel_crtc *crtc,
|
|
const struct intel_crtc_state *pipe_config);
|
|
void chv_enable_pll(struct intel_crtc *crtc,
|
|
const struct intel_crtc_state *pipe_config);
|
|
void vlv_disable_pll(struct drm_i915_private *dev_priv, enum pipe pipe);
|
|
void chv_disable_pll(struct drm_i915_private *dev_priv, enum pipe pipe);
|
|
void i9xx_disable_pll(const struct intel_crtc_state *crtc_state);
|
|
void vlv_prepare_pll(struct intel_crtc *crtc,
|
|
const struct intel_crtc_state *pipe_config);
|
|
void chv_prepare_pll(struct intel_crtc *crtc,
|
|
const struct intel_crtc_state *pipe_config);
|
|
bool bxt_find_best_dpll(struct intel_crtc_state *crtc_state,
|
|
struct dpll *best_clock);
|
|
int chv_calc_dpll_params(int refclk, struct dpll *pll_clock);
|
|
|
|
#endif
|