[Intel-gfx] [PATCH v3 00/10] Added missing changes for Turbo feature on SKL

akash.goel at intel.com akash.goel at intel.com
Thu Feb 26 04:49:36 PST 2015


From: Akash Goel <akash.goel at intel.com>

This patch series adds the missing changes, required for proper functioning
of the Turbo feature on SKL.
Most of the changes are mainly due to the fact that on SKL, the frequency has 
to be programmed in units of 16.66 MHZ and the time period value programmed 
in Up/Down EI & threshold registers, is in units of 1.333 micro seconds.
In this version, based on Ville & Damien's suggestions, have reworked 
the patches to store the frequency values inside the dev_priv->rps in 
the original hardware units for SKL. This helped to avoid all the special 
cases during normal codepaths, limiting them to init and one debugfs function.

Akash Goel (10):
  drm/i915/skl: Added new macros
  drm/i915/skl: Updated intel_gpu_freq() and intel_freq_opcode()
  drm/i915/skl: Updated the gen6_init_rps_frequencies function
  drm/i915/skl: Updated the gen6_set_rps function
  drm/i915/skl: Restructured the gen6_set_rps_thresholds function
  drm/i915/skl: Updated the gen6_rps_limits function
  drm/i915/skl: Updated the gen9_enable_rps function
  drm/i915/skl: Updated the i915_frequency_info debugfs function
  drm/i915/skl: Updated the act_freq_mhz_show sysfs function
  drm/i915/skl: Enabling processing of Turbo interrupts

 drivers/gpu/drm/i915/i915_debugfs.c |  25 ++++---
 drivers/gpu/drm/i915/i915_drv.h     |   1 +
 drivers/gpu/drm/i915/i915_irq.c     |   5 --
 drivers/gpu/drm/i915/i915_reg.h     |   9 +++
 drivers/gpu/drm/i915/i915_sysfs.c   |   4 +-
 drivers/gpu/drm/i915/intel_pm.c     | 129 ++++++++++++++++++++----------------
 6 files changed, 102 insertions(+), 71 deletions(-)

-- 
1.9.2



More information about the Intel-gfx mailing list