]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commit036f8d567b6c64dc1063c2f768b67073f694d251
treead7f3ee4f07c96236f1212be1d406fae6be29fbd
parentd2ab5ebf46b4b2c71e94cc08e098b0686cb9db18
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