]> git.baikalelectronics.ru Git - kernel.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)
commit42fdca70a14b935ff012d69434337b71613d30bb
tree34d12d8a83660acb2991ee3f1e66f098e2ae88f6
parent3a3c5faebf244eb96a7421d7eaa678fb1ec25276
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