[Intel-gfx] [PATCH 0/4] drm/i915: PMINTRMSK fix for VLV/CHV and some other rps stuff

ville.syrjala at linux.intel.com ville.syrjala at linux.intel.com
Fri Jan 23 11:04:22 PST 2015


From: Ville Syrjälä <ville.syrjala at linux.intel.com>

I was staring at the GPU frequency on my BSW recently when I noticed that
the value of PMINTRMSK didn't make much sense when I was frobbing with the
sysfs frequency files. So while fixing that I became annoyed at the
differences between VLV/CHV vs. others and tried to do something about it.

Tested on BSW and IVB, and all the values still look OK, so I'm going
to optimistically say that I didn't mess up anything with the semantic
patch.

Ville Syrjälä (4):
  drm/i915: Update PMINTRMSK on VLV/CHV after sysfs min/max freq change
  drm/i915: Add gt_act_freq_mhz sysfs file
  drm/i915: Add intel_gpu_freq() and intel_freq_opcode()
  drm/i915: Use intel_gpu_freq() and intel_freq_opcode()

 drivers/gpu/drm/i915/i915_debugfs.c |  43 ++++++-------
 drivers/gpu/drm/i915/i915_drv.h     |   4 +-
 drivers/gpu/drm/i915/i915_sysfs.c   | 121 +++++++++++++++++++++---------------
 drivers/gpu/drm/i915/intel_pm.c     |  50 +++++++--------
 4 files changed, 115 insertions(+), 103 deletions(-)

-- 
2.0.5



More information about the Intel-gfx mailing list