summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhenyu Wang <zhenyuw@linux.intel.com>2009-09-19 14:54:07 +0800
committerGreg Kroah-Hartman <gregkh@suse.de>2009-10-05 09:32:09 -0700
commitcb2ccc45533581f9afc5377b0e12edae8c9f1fea (patch)
treeff84ad15dbd2516ae3f685a2e18a87312061b73e
parent8db54cc7e91e1f2063e6203fabac7ba7c470fea8 (diff)
downloadlinux-stable-cb2ccc45533581f9afc5377b0e12edae8c9f1fea.tar.gz
linux-stable-cb2ccc45533581f9afc5377b0e12edae8c9f1fea.tar.bz2
linux-stable-cb2ccc45533581f9afc5377b0e12edae8c9f1fea.zip
drm/i915: Fix SSC frequence for IGDNG
commit 339e5a4c78041cd7b473ddf0a81eb06a131127bb upstream. IGDNG LVDS SSC uses 120Mhz freq. This fixes one 1600x900 LVDS panel black issue on IGDNG with SSC enabled. Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/gpu/drm/i915/intel_bios.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_bios.c b/drivers/gpu/drm/i915/intel_bios.c
index f806fcc54e09..698a0edf0ea9 100644
--- a/drivers/gpu/drm/i915/intel_bios.c
+++ b/drivers/gpu/drm/i915/intel_bios.c
@@ -217,6 +217,9 @@ parse_general_features(struct drm_i915_private *dev_priv,
if (IS_I85X(dev_priv->dev))
dev_priv->lvds_ssc_freq =
general->ssc_freq ? 66 : 48;
+ else if (IS_IGDNG(dev_priv->dev))
+ dev_priv->lvds_ssc_freq =
+ general->ssc_freq ? 100 : 120;
else
dev_priv->lvds_ssc_freq =
general->ssc_freq ? 100 : 96;