From patchwork Fri Jul 4 14:26:03 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paulo Zanoni X-Patchwork-Id: 4481541 Return-Path: X-Original-To: patchwork-intel-gfx@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 93843BEEAA for ; Fri, 4 Jul 2014 14:26:20 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D818F201BA for ; Fri, 4 Jul 2014 14:26:19 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id C28C0200E1 for ; Fri, 4 Jul 2014 14:26:18 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6D1B56E7F8; Fri, 4 Jul 2014 07:26:17 -0700 (PDT) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-yk0-f178.google.com (mail-yk0-f178.google.com [209.85.160.178]) by gabe.freedesktop.org (Postfix) with ESMTP id 9A67C6E7F8 for ; Fri, 4 Jul 2014 07:26:16 -0700 (PDT) Received: by mail-yk0-f178.google.com with SMTP id q9so693332ykb.9 for ; Fri, 04 Jul 2014 07:26:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=qCHzfjQhkVrVmOu9Brs3HHbdEitj+S0wsnVDGZPH0zY=; b=wxufCvw4ZwSKHOpgWA9c+fmHPm9lsKn7NSBRHsTm6drseKta3+MpItKikhS1CbPVcb OTC753aJV2jvlWx/jLCAB4RVUiEVTWDFz2WeHGLfzQvCtsP6/B+BXu4/XlEBaEI5g5FR Ayf82+1UusxOsuPMS6xftKlpCEo+1VO/jn4Hj11n9d2u/bxuRfYzptLkXgLNDNHJybAL hB6JwpzWW+O4ZbeTc1AHW+TqMemOGE89nE/S60afU78FKbXC77zL/hskIMmZ+jPIO0Ae NmF8118jEs3zArsl9r+cc7EdsbmOzeCvQmKFNePJ4Ule8XG/vIMtF/OO8wg7xWURMCip zV7w== X-Received: by 10.236.51.233 with SMTP id b69mr17301640yhc.93.1404483975841; Fri, 04 Jul 2014 07:26:15 -0700 (PDT) Received: from localhost.localdomain ([177.16.191.220]) by mx.google.com with ESMTPSA id w36sm46686763yhn.4.2014.07.04.07.26.14 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 04 Jul 2014 07:26:15 -0700 (PDT) From: Paulo Zanoni To: intel-gfx@lists.freedesktop.org Date: Fri, 4 Jul 2014 11:26:03 -0300 Message-Id: <1404483964-4140-1-git-send-email-przanoni@gmail.com> X-Mailer: git-send-email 2.0.0 In-Reply-To: <1403722924-26738-12-git-send-email-imre.deak@intel.com> References: <1403722924-26738-12-git-send-email-imre.deak@intel.com> Cc: Paulo Zanoni Subject: [Intel-gfx] [PATCH 10.5/19] drm/i915: BDW also has special-purpose DP DDI clocks X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Paulo Zanoni Don't let it fall in the HAS_PCH_SPLIT() case. Signed-off-by: Paulo Zanoni Reviewed-by: Damien Lespiau --- drivers/gpu/drm/i915/intel_dp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c index b5ec489..aedce65 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;