drm/i915: Read out hrawclk from CCK on vlv/chv
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 2 Mar 2016 15:22:16 +0000 (17:22 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 4 Mar 2016 12:44:09 +0000 (14:44 +0200)
commit35d38d1f17b853a014b500350ab3135790d47ef3
tree189edcf2ba087ecff090921969bf951b474ccfb9
parent193709c1c4d2543eac5d49428db732837ebcf61f
drm/i915: Read out hrawclk from CCK on vlv/chv

Currently we assume that hrawclk is 200MHz on VLV/CHV. That should
be true always, but just to avoid such asumptions we can read out the
actual frequency from CCK.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1456932138-14004-5-git-send-email-ville.syrjala@linux.intel.com
Reviewed-by: Imre Deak <imre.deak@intel.com>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_display.c