drm/i915/chv: fix HW readout of the port PLL fractional divider
authorImre Deak <imre.deak@intel.com>
Thu, 2 Jul 2015 11:29:58 +0000 (14:29 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 6 Jul 2015 09:33:00 +0000 (11:33 +0200)
commit0d7b6b1182ef6f72be592688c8a22025a5b7b483
treed067d5410ea354752f74060f1e984d4d0e38262c
parentd770e558e21961ad6cfdf0ff7df0eb5d7d4f0754
drm/i915/chv: fix HW readout of the port PLL fractional divider

Ville noticed that the PLL HW readout code parsed the fractional
divider value as if the fractional divider was always enabled. This may
result in a port clock state check mismatch if the preceeding modeset
disabled the fractional divider, but left a non-zero divider value in
the register.

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c