]> bbs.cooldavid.org Git - net-next-2.6.git/commit - drivers/gpu/drm/i915/intel_display.c
drm/i915: add power monitoring support
authorJesse Barnes <jbarnes@virtuousgeek.org>
Thu, 20 May 2010 21:28:11 +0000 (14:28 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 26 May 2010 21:10:01 +0000 (14:10 -0700)
commit7648fa99eb77a2e1a90b7beaa420e07d819b9c11
tree29991eba782a22922441813dcc3a5cbde8377119
parent7a772c492fcfffae812ffca78a628e76fa57fe58
drm/i915: add power monitoring support

Add power monitoring support to the i915 driver for use by the IPS
driver.  Export the available power info to the IPS driver through a few
new inter-driver hooks.  When used together, the IPS driver and this
patch can significantly increase graphics performance on Ironlake class
chips.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
[anholt: Fixed 32-bit compile.  stupid obfuscating div_u64()]
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/i915_dma.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_irq.c
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_display.c