drm/i915/skl: Parametrize the DPLL ref clock instead of open-coding it
authorImre Deak <imre.deak@intel.com>
Wed, 26 Feb 2020 20:34:49 +0000 (22:34 +0200)
committerImre Deak <imre.deak@intel.com>
Mon, 2 Mar 2020 17:36:21 +0000 (19:36 +0200)
commitc039b63a3d28d4766de25e704e629994bd80479b
tree239da71e762ab799f8d749c0ede69e12994376ca
parent45e4728b87ad03b3f9a0babe04cadef90c63291d
drm/i915/skl: Parametrize the DPLL ref clock instead of open-coding it

For clarity keep the SKL DPLL ref clock in a variable instead of
open-coding it. Store the value in kHZ units as done on other platforms.
This allows us in a later patch to keep track of the DPLL ref clock in a
more unified way across all platforms.

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200226203455.23032-8-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_dpll_mgr.c