]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: Add cdclk extraction for g33, g965gm and g4x
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 22 May 2015 08:22:33 +0000 (11:22 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 29 May 2015 08:15:28 +0000 (10:15 +0200)
commit34edce2fea6960ce5855d6e09902f82822c374c5
tree2b40d0b590809837df3aaec1ec630aa80240495f
parent65cd2b3fa521d1abec13dd36bf1bfc8f2469d8bc
drm/i915: Add cdclk extraction for g33, g965gm and g4x

Implement cdclk extraction for g33, 965gm and g4x platforms. The details
came from configdb. Sadly there isn't anything there for other gen3/gen4
chipsets.

So far I've tested this on one ELK where it gave me a HPLL VCO of 5333
MHz and cdclk of 444 MHz which seems perfectly sane for this machine.

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

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
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