]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
drm/i915: New offset for reading frequencies on CHV.
authorDeepak S <deepak.s@linux.intel.com>
Sat, 17 Jan 2015 05:35:59 +0000 (11:05 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 27 Jan 2015 08:50:44 +0000 (09:50 +0100)
commit095acd5f8739aa8322820d460e617898baf092df
tree34d12d8a83660acb2991ee3f1e66f098e2ae88f6
parent707b6e3d3cfaf8e6a3a4f2c381e0b354848771c2
drm/i915: New offset for reading frequencies on CHV.

Use new Sideband offset to read max/min/gaur freq based on the SKU it
is running on. Based on the Number of EU, we read different bits to
identify the max frequencies at which system can run.

v2: reuse mask definitions & INTEL_INFO() to get device info (Ville)

v3: add break in switch conditions (Ville)

Signed-off-by: Deepak S <deepak.s@linux.intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_pm.c