drm/i915: Enable LVDS downclock feature through EDID.
authorZhao Yakui <yakui.zhao@intel.com>
Fri, 20 Nov 2009 03:24:16 +0000 (03:24 +0000)
committerEric Anholt <eric@anholt.net>
Wed, 25 Nov 2009 20:46:41 +0000 (12:46 -0800)
commit18f9ed12f8c977e25d65a16af8e8d73f72417ba1
tree2e840183946aacd6bf310cbf083825d137d199b9
parentc8e0f93a381d1d76135e567f13a4418fce66fd95
drm/i915: Enable LVDS downclock feature through EDID.

If more than one mode with the same resolution defined in EDID has different
refresh rate, it is thought that the downclock is found for LVDS.
We will program the different FPx0/1 register so that we can select dynamically
between the low and high frequency.

On the g4x platform we will use the CxSR feature to switch the different
refresh rate if the LVDS downclock feature is supported.

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_lvds.c