]> git.baikalelectronics.ru Git - 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)
commite009fa6d737400ebb55e08b876c754e68b01d83d
tree7f43f096589e6900fb11db0033d3e68086d7c475
parentba0283c4ec018e3920ef7d389bcd2c44696ac3d9
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