From: Paulo Zanoni Date: Fri, 4 Jul 2014 14:26:03 +0000 (-0300) Subject: drm/i915: BDW also has special-purpose DP DDI clocks X-Git-Tag: v3.17-rc1~82^2~49^2~16 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=3fcf305b36a7be8bfc8f9e53b0498fbba7768da6;p=karo-tx-linux.git drm/i915: BDW also has special-purpose DP DDI clocks Don't let it fall in the HAS_PCH_SPLIT() case. Signed-off-by: Paulo Zanoni Reviewed-by: Damien Lespiau Signed-off-by: Daniel Vetter --- diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c index 3ca6c7c77e05..568e532e3b42 100644 --- a/drivers/gpu/drm/i915/intel_dp.c +++ b/drivers/gpu/drm/i915/intel_dp.c @@ -756,7 +756,7 @@ intel_dp_set_clock(struct intel_encoder *encoder, if (IS_G4X(dev)) { divisor = gen4_dpll; count = ARRAY_SIZE(gen4_dpll); - } else if (IS_HASWELL(dev)) { + } else if (HAS_DDI(dev)) { /* Haswell has special-purpose DP DDI clocks. */ } else if (HAS_PCH_SPLIT(dev)) { divisor = pch_dpll;