From patchwork Fri Apr 12 21:16:54 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paulo Zanoni X-Patchwork-Id: 2438211 Return-Path: X-Original-To: patchwork-intel-gfx@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by patchwork2.kernel.org (Postfix) with ESMTP id 85A73DF2A1 for ; Fri, 12 Apr 2013 21:18:35 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9AFD3E5D03 for ; Fri, 12 Apr 2013 14:18:35 -0700 (PDT) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-yh0-f51.google.com (mail-yh0-f51.google.com [209.85.213.51]) by gabe.freedesktop.org (Postfix) with ESMTP id EC105E5ED8 for ; Fri, 12 Apr 2013 14:17:48 -0700 (PDT) Received: by mail-yh0-f51.google.com with SMTP id q67so498919yhf.24 for ; Fri, 12 Apr 2013 14:17:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; bh=z8AGPqErW5lPROBKqm3bWbPOZYg8sdk/IaNwitalUWQ=; b=y6pLLzZrWjg40Zz/UBqxVNKq+2mXXqV5aAxlUzbegtb3niAMhrnZfwdqW2lLOnGIyV 2B8ycf+uZd9lyfyJ7iAzqHh5xPQUYcLl/z2yOkTNj+wxUFuJyFMZAUB4qfacs/o9dcX1 yx9A+bRxi14WVHBfEiFN0E0Qz4jvA1J5yKYcS2VbQLofXLap94Qa8WitmIP/zVy+ZCON M2tFX5Su6A8JGM6cq4U/Mvhq6MzMJ2wqQXcfu/LZU4FvLO6nCxb5pjcvKz3bSnRwBPKv MJd8ppFzwE+mO5RyZs0qY41kP8KqpIxa83OlEJnppvyE7Ko7Nd29lF30F4yLcK+PXlyM ifSQ== X-Received: by 10.236.170.131 with SMTP id p3mr7806009yhl.143.1365801468137; Fri, 12 Apr 2013 14:17:48 -0700 (PDT) Received: from localhost.localdomain ([177.156.77.163]) by mx.google.com with ESMTPS id s10sm14049070yho.13.2013.04.12.14.17.46 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 12 Apr 2013 14:17:47 -0700 (PDT) From: Paulo Zanoni To: intel-gfx@lists.freedesktop.org Date: Fri, 12 Apr 2013 18:16:54 -0300 Message-Id: <1365801414-3576-3-git-send-email-przanoni@gmail.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1365801414-3576-1-git-send-email-przanoni@gmail.com> References: <1365801414-3576-1-git-send-email-przanoni@gmail.com> Cc: Paulo Zanoni Subject: [Intel-gfx] [PATCH 3/3] drm/i915: WARN when LPT-LP is not paired with ULT CPU 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 Signed-off-by: Paulo Zanoni --- drivers/gpu/drm/i915/i915_drv.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c index bddb9a5..3d3803a 100644 --- a/drivers/gpu/drm/i915/i915_drv.c +++ b/drivers/gpu/drm/i915/i915_drv.c @@ -457,11 +457,13 @@ void intel_detect_pch(struct drm_device *dev) dev_priv->num_pch_pll = 0; DRM_DEBUG_KMS("Found LynxPoint PCH\n"); WARN_ON(!IS_HASWELL(dev)); + WARN_ON(IS_ULT(dev)); } else if (id == INTEL_PCH_LPT_LP_DEVICE_ID_TYPE) { dev_priv->pch_type = PCH_LPT; dev_priv->num_pch_pll = 0; DRM_DEBUG_KMS("Found LynxPoint LP PCH\n"); WARN_ON(!IS_HASWELL(dev)); + WARN_ON(!IS_ULT(dev)); } BUG_ON(dev_priv->num_pch_pll > I915_NUM_PLLS); }