drm/i915: Fix i855 get_display_clock_speed
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 22 May 2015 08:22:31 +0000 (11:22 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 29 May 2015 08:15:27 +0000 (10:15 +0200)
commit1b1d27160dad5478f614f95ae5a87bd8382c5612
tree3ed87e931cb9791bb485f30144be63c096026ada
parent8d2fdc3f26d150633004a04b53a4398cc2eed343
drm/i915: Fix i855 get_display_clock_speed

Actually read the HPLLCC register insted of assuming it's 0. Fix the
HPLLCC bit definitions and all the missing ones from the 852GME spec.

852GME, 854 and 855 all seem to match the same HPLLC encoding even
though only some of the values are valid is some of the platforms.

v2: Rebased to the latest
v3: Rebased to the latest

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> (v1)
Signed-off-by: Mika Kahola <mika.kahola@intel.com>
Acked-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_display.c