]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
drm/i915/bios: Reverse order of 100/120 Mhz SSC clocks
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 14 Dec 2010 20:06:20 +0000 (20:06 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 14 Dec 2010 22:00:18 +0000 (22:00 +0000)
Fixes the lack of output on the LVDS panel of the Lenovo U160.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=31596
Reported-and-tested-by: Dirk Gouders <gouders@et.bocholt.fh-gelsenkirchen.de>
Cc: stable@kernel.org
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_bios.c

index b0b1200ed6500055b05bc1e51a932df26b6600ef..2b2078695d2acb9c105a56b8256a87a625f428e1 100644 (file)
@@ -270,7 +270,7 @@ parse_general_features(struct drm_i915_private *dev_priv,
                                        general->ssc_freq ? 66 : 48;
                        else if (IS_GEN5(dev) || IS_GEN6(dev))
                                dev_priv->lvds_ssc_freq =
-                                       general->ssc_freq ? 100 : 120;
+                                       general->ssc_freq ? 120 : 100;
                        else
                                dev_priv->lvds_ssc_freq =
                                        general->ssc_freq ? 100 : 96;