drm/i915: Split hsw_get_dpll()
authorManasi Navare <manasi.d.navare@intel.com>
Thu, 1 Sep 2016 22:08:11 +0000 (15:08 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Wed, 7 Sep 2016 20:55:33 +0000 (13:55 -0700)
commit81b9fd8fc68e9e0999efc604c4e5477b8d1982aa
treecfd68e638787b33638d718a3244837acdbafe0ca
parent9a4edadaccea5ba9b73abaff8121e68dd0ff70bc
drm/i915: Split hsw_get_dpll()

Split out the DisplayPort and HDMI pll setup code into separate
functions and refactor the DP code that calculates the pll
so that it doesn't depend on crtc state.
This will be used for acquiring port pll when doing
upfront link training.

Reviewed-by: Durgadoss R <durgadoss.r@intel.com>
Signed-off-by: Manasi Navare <manasi.d.navare@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/i915/intel_dpll_mgr.c
drivers/gpu/drm/i915/intel_dpll_mgr.h