summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_dpll_mgr.h
diff options
context:
space:
mode:
authorVandita Kulkarni <vandita.kulkarni@intel.com>2018-10-03 12:52:00 +0530
committerRodrigo Vivi <rodrigo.vivi@intel.com>2018-10-16 09:00:58 -0700
commita54270d3a917a455967fae5347c0abf3ebf86801 (patch)
tree82be1f84872cd3cdae76b4e51e0c6b8d624b6ac6 /drivers/gpu/drm/i915/intel_dpll_mgr.h
parent8ea59e67399035e1e8f9f250ec12dfe0a94e6ce9 (diff)
downloadlinux-stable-a54270d3a917a455967fae5347c0abf3ebf86801.tar.gz
linux-stable-a54270d3a917a455967fae5347c0abf3ebf86801.tar.bz2
linux-stable-a54270d3a917a455967fae5347c0abf3ebf86801.zip
drm/i915/icl: Refactor icl pll functions
This patch adds helper function for identifying whether the given PLL is combo PHY PLL or not. This helper function is used inside various ICL functions to make them scalable. Signed-off-by: Vandita Kulkarni <vandita.kulkarni@intel.com> Signed-off-by: Mahesh Kumar <mahesh1.kumar@intel.com> Cc: Madhav Chauhan <madhav.chauhan@intel.com> Cc: Lucas De Marchi <lucas.demarchi@intel.com> Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com> Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20181003072203.12848-6-mahesh1.kumar@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_dpll_mgr.h')
-rw-r--r--drivers/gpu/drm/i915/intel_dpll_mgr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_dpll_mgr.h b/drivers/gpu/drm/i915/intel_dpll_mgr.h
index 58d3fba06076..a033d8f06d4a 100644
--- a/drivers/gpu/drm/i915/intel_dpll_mgr.h
+++ b/drivers/gpu/drm/i915/intel_dpll_mgr.h
@@ -346,5 +346,6 @@ int icl_calc_dp_combo_pll_link(struct drm_i915_private *dev_priv,
uint32_t pll_id);
int cnl_hdmi_pll_ref_clock(struct drm_i915_private *dev_priv);
enum intel_dpll_id icl_port_to_mg_pll_id(enum port port);
+bool intel_dpll_is_combophy(enum intel_dpll_id id);
#endif /* _INTEL_DPLL_MGR_H_ */