]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: Split bxt_ddi_pll_select()
authorDurgadoss R <durgadoss.r@intel.com>
Thu, 1 Sep 2016 22:08:09 +0000 (15:08 -0700)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Wed, 7 Sep 2016 20:55:33 +0000 (13:55 -0700)
commita277ca7dc01df9c7b8fe5b1d992d2bcc02e2ec23
tree7d2c193356eed6cf9cc7357a1023eabbef9745f7
parentba88d153526f31777ef40b065a772e8dbf97b7c0
drm/i915: Split bxt_ddi_pll_select()

Split out of bxt_ddi_pll_select() the logic that calculates the pll
dividers and dpll_hw_state into a new function that doesn't depend on
crtc state. This will be used for enabling the port pll when doing
upfront link training.

v2:
* Refactored code so that bxt_clk_div need not be exported (Durga)
v1:
* Rebased on top of intel_dpll_mgr.c (Durga)
* Initial version from Ander on top of intel_ddi.c

Reviewed-by: Manasi Navare <manasi.d.navare@intel.com>
Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Signed-off-by: Durgadoss R <durgadoss.r@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