]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/icl: split pll enable in three steps
authorLucas De Marchi <lucas.demarchi@intel.com>
Sat, 9 Mar 2019 03:57:24 +0000 (19:57 -0800)
committerLucas De Marchi <lucas.demarchi@intel.com>
Fri, 15 Mar 2019 16:24:48 +0000 (09:24 -0700)
commit29bf229b7c475fbe15c633db38ad27fbdda613df
treead7f3ee4f07c96236f1212be1d406fae6be29fbd
parente39004a5dd84f18d5559c5d4455a6c4a43795d14
drm/i915/icl: split pll enable in three steps

Create separate functions to 1) enable power, 2) write pll config, and
3) enable pll. Doing this it makes it easier to share the functions for
the different PLL types by passing the right arguments.

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-3-lucas.demarchi@intel.com
drivers/gpu/drm/i915/intel_dpll_mgr.c