]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/skl: Retrieve the Rpe value from Pcode
authorAkash Goel <akash.goel@intel.com>
Mon, 29 Jun 2015 09:20:19 +0000 (14:50 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 13 Jul 2015 08:37:03 +0000 (10:37 +0200)
commit9a233a11b3b98441cbd23e04a2147ab0be16b080
treea37b0133078bd708f18e4fda6d7140903ca1b39a
parentd9c82cd029ff75ad9accecf70282d53927c60508
drm/i915/skl: Retrieve the Rpe value from Pcode

Read the efficient frequency (aka RPe) value through the the mailbox
command (0x1A) from the pcode, as done on Haswell and Broadwell.
The turbo minimum frequency softlimit is not revised as per the
efficient frequency value.

v2: Replaced the conditional expression operator with 'if' statement (Tom)
v3: Corrected the derivation of efficient frequency & shifted the
    GEN9_FREQ_SCALER multiplications downwards (Ville)

Issue: VIZ-5143
Signed-off-by: Akash Goel <akash.goel@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_pm.c