From patchwork Tue Apr 1 22:39:48 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paulo Zanoni X-Patchwork-Id: 3925891 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 DB918BF540 for ; Tue, 1 Apr 2014 22:40:08 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 21F8720266 for ; Tue, 1 Apr 2014 22:40:08 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 5AE5520240 for ; Tue, 1 Apr 2014 22:40:07 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 451256E896; Tue, 1 Apr 2014 15:40:06 -0700 (PDT) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-yh0-f41.google.com (mail-yh0-f41.google.com [209.85.213.41]) by gabe.freedesktop.org (Postfix) with ESMTP id 8A9336E778 for ; Tue, 1 Apr 2014 15:40:05 -0700 (PDT) Received: by mail-yh0-f41.google.com with SMTP id v1so9875712yhn.0 for ; Tue, 01 Apr 2014 15:40:05 -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=6rBT4Md5zzfh/C/v4+sa1GVeP7jD3BypTf0YyBswa3k=; b=b5hgu/o4NUd78zBBCZDK8s4YwG6NuCD7mu32DOEcsEVLEepffRyTYnD7K2seGfGTkO J7PZihpGVx69WHauHU4sKKQeckJ4qV01BHinT6IAtv+czVk+jBgZ0ePizkHChe+0RUrY NAMWPwbK1+TIWaoufBhDkKrJt26j5gNdGxBVH5YSbJCyN0d9Kp3F/jtd4PXfP4Z00THD 6+5ORIJaUP+UP8noLkJbSkfgagq24K29jhP5rEqDqwNQ+Fn4aX5UGAU2V8/slAZMFHwE cW60xmFDRpsa9prd80LT7VbOKWyKZcPL5mQtaWvM10X2TMsF2Hh1vhjjVKB2hQkXN8KN qEAg== X-Received: by 10.236.129.43 with SMTP id g31mr14619940yhi.115.1396392005201; Tue, 01 Apr 2014 15:40:05 -0700 (PDT) Received: from localhost.localdomain ([177.42.99.148]) by mx.google.com with ESMTPSA id r46sm46418yhd.29.2014.04.01.15.40.04 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 01 Apr 2014 15:40:04 -0700 (PDT) From: Paulo Zanoni To: intel-gfx@lists.freedesktop.org Date: Tue, 1 Apr 2014 19:39:48 -0300 Message-Id: <1396391989-2244-3-git-send-email-przanoni@gmail.com> X-Mailer: git-send-email 1.8.5.3 In-Reply-To: <1396391989-2244-1-git-send-email-przanoni@gmail.com> References: <1396391989-2244-1-git-send-email-przanoni@gmail.com> Subject: [Intel-gfx] [PATCH 2/3] drm/i915: Allow i915_pc8_status debug info on BDW 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.7 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, 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: Zhenyu Wang Signed-off-by: Zhenyu Wang Reviewed-by: Ben Widawsky --- drivers/gpu/drm/i915/i915_debugfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c index 41da286..8d18455 100644 --- a/drivers/gpu/drm/i915/i915_debugfs.c +++ b/drivers/gpu/drm/i915/i915_debugfs.c @@ -2058,7 +2058,7 @@ static int i915_pc8_status(struct seq_file *m, void *unused) struct drm_device *dev = node->minor->dev; struct drm_i915_private *dev_priv = dev->dev_private; - if (!IS_HASWELL(dev)) { + if (!IS_HASWELL(dev) && !IS_BROADWELL(dev)) { seq_puts(m, "not supported\n"); return 0; }