aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/drm/i915/intel_dp.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c
index 482b5e570d84..173add1d819e 100644
--- a/drivers/gpu/drm/i915/intel_dp.c
+++ b/drivers/gpu/drm/i915/intel_dp.c
@@ -353,10 +353,14 @@ intel_dp_aux_ch(struct intel_dp *intel_dp,
353 aux_clock_divider = 200; /* SNB & IVB eDP input clock at 400Mhz */ 353 aux_clock_divider = 200; /* SNB & IVB eDP input clock at 400Mhz */
354 else 354 else
355 aux_clock_divider = 225; /* eDP input clock at 450Mhz */ 355 aux_clock_divider = 225; /* eDP input clock at 450Mhz */
356 } else if (HAS_PCH_SPLIT(dev)) 356 } else if (dev_priv->pch_id == INTEL_PCH_LPT_DEVICE_ID_TYPE) {
357 /* Workaround for non-ULT HSW */
358 aux_clock_divider = 74;
359 } else if (HAS_PCH_SPLIT(dev)) {
357 aux_clock_divider = DIV_ROUND_UP(intel_pch_rawclk(dev), 2); 360 aux_clock_divider = DIV_ROUND_UP(intel_pch_rawclk(dev), 2);
358 else 361 } else {
359 aux_clock_divider = intel_hrawclk(dev) / 2; 362 aux_clock_divider = intel_hrawclk(dev) / 2;
363 }
360 364
361 if (IS_GEN6(dev)) 365 if (IS_GEN6(dev))
362 precharge = 3; 366 precharge = 3;