From: Jesse Barnes Date: Thu, 7 Oct 2010 23:01:23 +0000 (-0700) Subject: drm/i915/dp: don't bother with DP PLL for PCH attached eDP X-Git-Tag: v2.6.37-rc1~92^2~11^2~44 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=895692befab73fd399d854c7db41d6d7260af2da;p=karo-tx-linux.git drm/i915/dp: don't bother with DP PLL for PCH attached eDP We don't use the CPU DP PLL with PCH attached eDP panels, so don't bother to enable it. Signed-off-by: Jesse Barnes Signed-off-by: Chris Wilson --- diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c index d4ef20598da8..ada7319f0eaf 100644 --- a/drivers/gpu/drm/i915/intel_dp.c +++ b/drivers/gpu/drm/i915/intel_dp.c @@ -775,7 +775,7 @@ intel_dp_mode_set(struct drm_encoder *encoder, struct drm_display_mode *mode, if (intel_crtc->pipe == 1 && !HAS_PCH_CPT(dev)) intel_dp->DP |= DP_PIPEB_SELECT; - if (is_edp(intel_dp)) { + if (is_edp(intel_dp) && !is_pch_edp(intel_dp)) { /* don't miss out required setting for eDP */ intel_dp->DP |= DP_PLL_ENABLE; if (adjusted_mode->clock < 200000)