OSDN Git Service

drm/i915/icl+: Simplify combo/TBT PLL calculation call-chain
authorImre Deak <imre.deak@intel.com>
Mon, 29 Jun 2020 18:58:48 +0000 (21:58 +0300)
committerImre Deak <imre.deak@intel.com>
Wed, 1 Jul 2020 12:39:00 +0000 (15:39 +0300)
commitfc6200948275383ca214bb30dd175dfd0d61149b
tree4fdb4ee6a2f04c65f019ee9efa3ebfb613db7169
parent09eac8277262bea10a52159f90dcb55beffe0714
drm/i915/icl+: Simplify combo/TBT PLL calculation call-chain

To simplify things, call the combo PHY/TBT PLL calculation functions
directly from the corresponding combo/TypeC PLL get functions, instead of
calling the same calculation functions after having to recheck if the
given PHY is combo or TypeC.

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200629185848.20550-2-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_dpll_mgr.c