aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_debugfs.c
diff options
context:
space:
mode:
authorMika Kuoppala <mika.kuoppala@linux.intel.com>2017-03-15 18:07:13 +0200
committerMika Kuoppala <mika.kuoppala@intel.com>2017-03-16 12:28:28 +0200
commit47c21d9a1a7b4b3177dde686ce0eb71cdf25e07b (patch)
treefc51595627946c7fbdbe0009d5a2c1950d9d2a93 /drivers/gpu/drm/i915/i915_debugfs.c
parentdrm/i915: Return residency as microseconds (diff)
downloadlinux-dev-47c21d9a1a7b4b3177dde686ce0eb71cdf25e07b.tar.xz
linux-dev-47c21d9a1a7b4b3177dde686ce0eb71cdf25e07b.zip
drm/i915: Extend vlv/chv residency resolution
Vlv and chv residency counters are 40 bits in width. With a control bit, we can choose between upper or lower 32 bit window into this counter. Lets toggle this bit on and off on and read both parts. As a result we can push the wrap from 13 seconds to 54 minutes. v2: commit msg, loop readability, goto elimination (Chris) v3: bug ref, divide outside runtime pm lock (Chris) References: https://bugs.freedesktop.org/show_bug.cgi?id=94852 Reported-by: Len Brown <len.brown@intel.com> Cc: Chris Wilson <chris@chris-wilson.co.uk> Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_debugfs.c')
0 files changed, 0 insertions, 0 deletions