]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Don't read out port_clock on CHV when DPLL is disabled
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 15 Mar 2016 14:40:01 +0000 (16:40 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 12 Apr 2016 18:17:47 +0000 (21:17 +0300)
commit1cc59768ececf47619fcd1022118e477ef08a8ef
tree77e1a006dc87b1d3fb8f5790a86b673cfa77014d
parent1e6b3213183bd3888718c7c21b4e566e2396f013
drm/i915: Don't read out port_clock on CHV when DPLL is disabled

Check whether the DPLL is even enabled before readoing out the dividers
and trying to derive port_clock on CHV. We already did this on VLV.

Also remove the comment "MIPI" comment from the VLV code since we call
this function whenever the pipe is enabled.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1458052809-23426-9-git-send-email-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/intel_display.c