drm/i915/skl, cnl: Split out the WRPLL/LCPLL frequency calculation
authorImre Deak <imre.deak@intel.com>
Wed, 26 Feb 2020 20:34:53 +0000 (22:34 +0200)
committerImre Deak <imre.deak@intel.com>
Mon, 2 Mar 2020 17:36:21 +0000 (19:36 +0200)
commitb953eb2153a34a113ec8f4c991390d36e5b00d4b
tree5ef5b58ce288406ebde7fdac89dfd58e650e3784
parent350ab42f973501d573f2e92c6f8a75b6b5a92e83
drm/i915/skl, cnl: Split out the WRPLL/LCPLL frequency calculation

Split out the PLL parameter->frequency conversion logic for each type of
PLL for symmetry with their corresponding inverse conversion functions.

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200226203455.23032-12-imre.deak@intel.com
drivers/gpu/drm/i915/display/icl_dsi.c
drivers/gpu/drm/i915/display/intel_ddi.c
drivers/gpu/drm/i915/display/intel_dpll_mgr.c
drivers/gpu/drm/i915/display/intel_dpll_mgr.h