drm/i915/hsw: Use the DPLL ID when calculating DPLL clock
authorImre Deak <imre.deak@intel.com>
Wed, 26 Feb 2020 20:34:47 +0000 (22:34 +0200)
committerImre Deak <imre.deak@intel.com>
Mon, 2 Mar 2020 17:36:21 +0000 (19:36 +0200)
commit6cbcd57680e170e80f1b1a90d6f2dc971636de3b
tree30ab0afde1c99a568c4548bb4f8d508914832adf
parent4ac7df1775f3c943216d7aaf158e5ad16a94dd7e
drm/i915/hsw: Use the DPLL ID when calculating DPLL clock

Instead of converting DPLL ID to CLK_SEL to identify the DPLL use the
DPLL ID directly for this.

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-6-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_ddi.c