]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: add dynamic clock frequency control
authorJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 17 Aug 2009 20:31:43 +0000 (13:31 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 4 Sep 2009 20:05:38 +0000 (13:05 -0700)
commit77ca8d3df44d2f0e366a6167b962efecf619a02e
tree35f76866301f0ee61819d6265068ca548d119c0e
parent6892f6e483c3fcbe378608f4bed369b0261e396c
drm/i915: add dynamic clock frequency control

There are several sources of unnecessary power consumption on Intel
graphics systems. The first is the LVDS clock. TFTs don't suffer from
persistence issues like CRTs, and so we can reduce the LVDS refresh rate
when the screen is idle. It will be automatically upclocked when
userspace triggers graphical activity. Beyond that, we can enable memory
self refresh. This allows the memory to go into a lower power state when
the graphics are idle. Finally, we can drop some clocks on the gpu
itself. All of these things can be reenabled between frames when GPU
activity is triggered, and so there should be no user visible graphical
changes.

Signed-off-by: Jesse Barnes <jesse.barnes@intel.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/i915_suspend.c
drivers/gpu/drm/i915/intel_bios.c
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_i2c.c