From patchwork Thu Nov 1 20:45:07 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paulo Zanoni X-Patchwork-Id: 1686361 Return-Path: X-Original-To: patchwork-intel-gfx@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by patchwork1.kernel.org (Postfix) with ESMTP id 5E2133FCDF for ; Thu, 1 Nov 2012 20:46:58 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 51ED1A0F9B for ; Thu, 1 Nov 2012 13:46:58 -0700 (PDT) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-yh0-f49.google.com (mail-yh0-f49.google.com [209.85.213.49]) by gabe.freedesktop.org (Postfix) with ESMTP id 5EAE1A0F57 for ; Thu, 1 Nov 2012 13:45:25 -0700 (PDT) Received: by mail-yh0-f49.google.com with SMTP id j52so530704yhj.36 for ; Thu, 01 Nov 2012 13:45:25 -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:x-mailer:in-reply-to:references; bh=xlR8KmPr/XGw/C8nZ+q+I5W9aha+AnDAYtatuaumryo=; b=ksPs6pvSTOyyUa/BDNEqKrrd5dQL5XBGQdYFRnF8iXtTPFMBFmAqRMzxHH/xC4hXb6 QInyOA9Q1kfE/LJsZmmyx26xxzr2nB9mn+Oa8FZL/oy1fMkyWjHmrxBgvW0iONrpUm2J DydIBX5ffEL0ac2vDA9iFUTdaemFX99huDvK60xjsmTRZlLMPUSlQp64xPMmUi5L4mdQ hjNpIe3gWMcYAFCLdSzD/HoJngf0Eq9uMg6paCi4UdWpEPGaxLey9Q0Cjt5nZ0V1nfH/ OHojHH28SQx1MBUVNiz2NZRa2+qqztO+DM9gEOSKoAKPzGljn61U24sVFsKrR3OEOVwk n1MA== Received: by 10.100.78.13 with SMTP id a13mr12244447anb.13.1351802725199; Thu, 01 Nov 2012 13:45:25 -0700 (PDT) Received: from vicky.domain.invalid ([177.96.15.240]) by mx.google.com with ESMTPS id h16sm7201966ani.0.2012.11.01.13.45.23 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 01 Nov 2012 13:45:24 -0700 (PDT) From: Paulo Zanoni To: intel-gfx@lists.freedesktop.org Date: Thu, 1 Nov 2012 18:45:07 -0200 Message-Id: <1351802707-4924-4-git-send-email-przanoni@gmail.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1351802707-4924-1-git-send-email-przanoni@gmail.com> References: <1351802707-4924-1-git-send-email-przanoni@gmail.com> Cc: Paulo Zanoni Subject: [Intel-gfx] [PATCH 4/4] drm/i915: use PIPECONF_INTERLACE_MASK_HSW on lpt_enable_pch_transcoder X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: intel-gfx-bounces+patchwork-intel-gfx=patchwork.kernel.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+patchwork-intel-gfx=patchwork.kernel.org@lists.freedesktop.org From: Paulo Zanoni ... instead of PIPECONF_INTERLACE_MASK. Signed-off-by: Paulo Zanoni --- drivers/gpu/drm/i915/intel_display.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index 276a1c4..9b29d7c 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c @@ -1703,7 +1703,8 @@ static void ironlake_enable_pch_transcoder(struct drm_i915_private *dev_priv, } val &= ~TRANS_INTERLACE_MASK; - if ((pipeconf_val & PIPECONF_INTERLACE_MASK) == PIPECONF_INTERLACED_ILK) + if ((pipeconf_val & PIPECONF_INTERLACE_MASK_HSW) == + PIPECONF_INTERLACED_ILK) if (HAS_PCH_IBX(dev_priv->dev) && intel_pipe_has_type(crtc, INTEL_OUTPUT_SDVO)) val |= TRANS_LEGACY_INTERLACED_ILK;