aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-09-26 23:42:37 -0400
committerKeith Packard <keithp@keithp.com>2011-09-28 17:08:37 -0400
commitafffb9dfb62a9eb2a6e467a3875907189e49a2d2 (patch)
tree28e3a7623278c050340c26554af13941f086b683
parent99eb6a01e5ac6cf28aadc64e6ff346939874dfd2 (diff)
drm/i915: All PCH refclks are 120MHz
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>
-rw-r--r--drivers/gpu/drm/i915/intel_display.c14
1 files changed, 4 insertions, 10 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index 4c9684c54f18..b072a35b6f52 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -5281,16 +5281,10 @@ static int ironlake_crtc_mode_set(struct drm_crtc *crtc,
5281 num_connectors++; 5281 num_connectors++;
5282 } 5282 }
5283 5283
5284 if (is_lvds && intel_panel_use_ssc(dev_priv) && num_connectors < 2) { 5284 /*
5285 refclk = dev_priv->lvds_ssc_freq * 1000; 5285 * Every reference clock in a PCH system is 120MHz
5286 DRM_DEBUG_KMS("using SSC reference clock of %d MHz\n", 5286 */
5287 refclk / 1000); 5287 refclk = 120000;
5288 } else {
5289 refclk = 96000;
5290 if (!has_edp_encoder ||
5291 intel_encoder_is_pch_edp(&has_edp_encoder->base))
5292 refclk = 120000; /* 120Mhz refclk */
5293 }
5294 5288
5295 /* 5289 /*
5296 * Returns a set of divisors for the desired target clock with the given 5290 * Returns a set of divisors for the desired target clock with the given