drm/i915/icl: Refactor icl pll functions
authorVandita Kulkarni <vandita.kulkarni@intel.com>
Wed, 3 Oct 2018 07:22:00 +0000 (12:52 +0530)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 16 Oct 2018 16:00:58 +0000 (09:00 -0700)
commita54270d3a917a455967fae5347c0abf3ebf86801
tree82be1f84872cd3cdae76b4e51e0c6b8d624b6ac6
parent8ea59e67399035e1e8f9f250ec12dfe0a94e6ce9
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
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_dpll_mgr.c
drivers/gpu/drm/i915/intel_dpll_mgr.h