drm/i915/hsw: Use the read-out WRPLL/SPLL state instead of reading out again
authorImre Deak <imre.deak@intel.com>
Wed, 26 Feb 2020 20:34:54 +0000 (22:34 +0200)
committerImre Deak <imre.deak@intel.com>
Mon, 2 Mar 2020 17:36:21 +0000 (19:36 +0200)
commit540a8b6b0eb7492cfa452fe99814c198c2c92e06
treed0cf177ad07d646fbc261a566c6f853e084e5234
parentb953eb2153a34a113ec8f4c991390d36e5b00d4b
drm/i915/hsw: Use the read-out WRPLL/SPLL state instead of reading out again

Instead of reading out the WRPLL/SPLL control values from HW, we can use
the DPLL state that was already read out, or swapped-to.

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