drm/i915: All PCH refclks are 120MHz
authorKeith Packard <keithp@keithp.com>
Tue, 27 Sep 2011 03:42:37 +0000 (20:42 -0700)
committerKeith Packard <keithp@keithp.com>
Wed, 28 Sep 2011 21:08:37 +0000 (14:08 -0700)
I can't find any reference clocks which run at 96MHz as seems to be
indicated from the comments in this code.

Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_display.c

index 4c9684c54f18aa03adfe5894823fa9c3fc25f971..b072a35b6f5259933cfa277ea95bddcce1da5f75 100644 (file)
@@ -5281,16 +5281,10 @@ static int ironlake_crtc_mode_set(struct drm_crtc *crtc,
                num_connectors++;
        }
 
-       if (is_lvds && intel_panel_use_ssc(dev_priv) && num_connectors < 2) {
-               refclk = dev_priv->lvds_ssc_freq * 1000;
-               DRM_DEBUG_KMS("using SSC reference clock of %d MHz\n",
-                             refclk / 1000);
-       } else {
-               refclk = 96000;
-               if (!has_edp_encoder ||
-                   intel_encoder_is_pch_edp(&has_edp_encoder->base))
-                       refclk = 120000; /* 120Mhz refclk */
-       }
+       /*
+        * Every reference clock in a PCH system is 120MHz
+        */
+       refclk = 120000;
 
        /*
         * Returns a set of divisors for the desired target clock with the given