summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/display/intel_dpll.h
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2021-04-27 15:03:15 +0300
committerJani Nikula <jani.nikula@intel.com>2021-04-28 11:17:11 +0300
commit7c53e628344bf17aa9282b795aa7cd9c46958949 (patch)
tree4b739af27fb571e33215a9d6c6b807a13e08590c /drivers/gpu/drm/i915/display/intel_dpll.h
parentb23109c5b5368ab7512edd78c6fd23ad35a6886b (diff)
downloadlinux-7c53e628344bf17aa9282b795aa7cd9c46958949.tar.xz
drm/i915/display: move crtc and dpll declarations where they belong
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
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_dpll.h')
-rw-r--r--drivers/gpu/drm/i915/display/intel_dpll.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_dpll.h b/drivers/gpu/drm/i915/display/intel_dpll.h
index 7ff4b0d29ed1..88247027fd5a 100644
--- a/drivers/gpu/drm/i915/display/intel_dpll.h
+++ b/drivers/gpu/drm/i915/display/intel_dpll.h
@@ -6,6 +6,8 @@
#ifndef _INTEL_DPLL_H_
#define _INTEL_DPLL_H_
+#include <linux/types.h>
+
struct dpll;
struct drm_i915_private;
struct intel_crtc;
@@ -37,5 +39,8 @@ 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