diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2010-01-14 20:48:02 +0000 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-01-15 14:08:01 -0800 |
commit | 33814341f22f13cec17e8d7fbf6f7e8000e3efa4 (patch) | |
tree | 7f43f096589e6900fb11db0033d3e68086d7c475 /drivers/gpu/drm/i915/i915_drv.c | |
parent | 21bd770b9c90ee6a53a9dbb6293513a8c7654cfe (diff) | |
download | op-kernel-dev-33814341f22f13cec17e8d7fbf6f7e8000e3efa4.zip op-kernel-dev-33814341f22f13cec17e8d7fbf6f7e8000e3efa4.tar.gz |
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>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.c')
-rw-r--r-- | drivers/gpu/drm/i915/i915_drv.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c index 66f7bac..46d8896 100644 --- a/drivers/gpu/drm/i915/i915_drv.c +++ b/drivers/gpu/drm/i915/i915_drv.c @@ -45,6 +45,9 @@ module_param_named(fbpercrtc, i915_fbpercrtc, int, 0400); unsigned int i915_powersave = 1; module_param_named(powersave, i915_powersave, int, 0400); +unsigned int i915_lvds_downclock = 0; +module_param_named(lvds_downclock, i915_lvds_downclock, int, 0400); + static struct drm_driver driver; #define INTEL_VGA_DEVICE(id, info) { \ |