drm/i915/icl: split combo and mg pll enable
authorLucas De Marchi <lucas.demarchi@intel.com>
Sat, 9 Mar 2019 03:57:23 +0000 (19:57 -0800)
committerLucas De Marchi <lucas.demarchi@intel.com>
Fri, 15 Mar 2019 16:24:48 +0000 (09:24 -0700)
commitd2ab5ebf46b4b2c71e94cc08e098b0686cb9db18
treef4df9e0c8e5431a0243122a2e59935f8a5b95255
parent41a1bde3671582bd0fc9e57f1f1c355a24db6bc4
drm/i915/icl: split combo and mg pll enable

Let's start using the vfuncs to differentiate MG and Combo PLLs. The end
goal is to decouple the type of the PLL from the IDs since the latter
are likely to change from one platform to another. This also makes the
code easier to read by not having lots of if/else chains on leaf
functions.

Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190309035727.25389-2-lucas.demarchi@intel.com
drivers/gpu/drm/i915/intel_dpll_mgr.c