]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
drm/i915: disable LVDS downclock by default
authorJesse Barnes <jbarnes@virtuousgeek.org>
Thu, 14 Jan 2010 20:48:02 +0000 (20:48 +0000)
committerEric Anholt <eric@anholt.net>
Fri, 15 Jan 2010 22:08:01 +0000 (14:08 -0800)
commit33814341f22f13cec17e8d7fbf6f7e8000e3efa4
tree7f43f096589e6900fb11db0033d3e68086d7c475
parent21bd770b9c90ee6a53a9dbb6293513a8c7654cfe
drm/i915: disable LVDS downclock by default

Many platform support this feature, and it can provide significant
power savings when the reduced refresh rate is low.  However, on some
platforms a secondary (reduced) timing is provided but not actually
supported by the hardware.  This results in undesirable flicker at
runtime.

So disable the feature by default, but allow users to opt-in to the
reduced clock behavior with a new module parameter, lvds_downclock,
that can be set to 1 to enable the feature.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
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/intel_bios.c
drivers/gpu/drm/i915/intel_lvds.c