]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit652c393a3368af84359da37c45afc35a91144960
tree35f76866301f0ee61819d6265068ca548d119c0e
parent043029655816ed4cfc2ed247020ef97e5d637392
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