From patchwork Thu Aug 21 20:09:36 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paulo Zanoni X-Patchwork-Id: 4759701 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 2C3F1C0338 for ; Thu, 21 Aug 2014 20:09:54 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5C8B42017D for ; Thu, 21 Aug 2014 20:09:53 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 69BA32018B for ; Thu, 21 Aug 2014 20:09:52 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 593026E28E; Thu, 21 Aug 2014 13:09:51 -0700 (PDT) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-yh0-f53.google.com (mail-yh0-f53.google.com [209.85.213.53]) by gabe.freedesktop.org (Postfix) with ESMTP id BE3576E28E for ; Thu, 21 Aug 2014 13:09:49 -0700 (PDT) Received: by mail-yh0-f53.google.com with SMTP id c41so8491803yho.12 for ; Thu, 21 Aug 2014 13:09:49 -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; bh=Yj3h6j+D6YlqSHGjgoz7QhpbZy6I02bLWw9ytsv2Rqc=; b=SnRHEl6PwqTrvgcsSlkoew/s0wY6lrEkl661/taOjDII9o+rpGxuRvMu488bHEBzP7 5oDCZcnjWIsdCo7hrfl1wpNzaKzp8d3s3TaRHPN0PX9NMY6Aelp6NhjLx9RAVZXNzN19 rXn8Sn4l6sJ4LCN5+4OaiR3CKS6NfXxAvDc5RYBRdJjykIgnQCVv3YlbIZU/Mrl6omqW ys3eoi2h2WsrHf1FRCxevDDKCxPY57jLnfpkbztYZsouUIogiknLcC0iRzw9tn9itCa2 ihTHe3lPJzBEO00xq1FQJ+mQlVtgqbh2GkrtvxDUhnvRNgjsy0r16BGEMwkKYbk2uwZM Ehqg== X-Received: by 10.236.15.164 with SMTP id f24mr707769yhf.165.1408651789199; Thu, 21 Aug 2014 13:09:49 -0700 (PDT) Received: from localhost.localdomain ([177.16.191.205]) by mx.google.com with ESMTPSA id u47sm54812021yhm.35.2014.08.21.13.09.48 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 21 Aug 2014 13:09:48 -0700 (PDT) From: Paulo Zanoni To: intel-gfx@lists.freedesktop.org Date: Thu, 21 Aug 2014 17:09:36 -0300 Message-Id: <1408651778-2636-1-git-send-email-przanoni@gmail.com> X-Mailer: git-send-email 1.9.1 Cc: Paulo Zanoni Subject: [Intel-gfx] [PATCH 1/3] drm/i915: call lpt_init_clock_gating on BDW too 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.8 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: Paulo Zanoni Because BDW has WPT, which is equivalent to LPT. This is just like the CPT/PPT case. Signed-off-by: Paulo Zanoni Reviewed-by: Damien Lespiau --- drivers/gpu/drm/i915/intel_pm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c index c8f744c..b3e948f 100644 --- a/drivers/gpu/drm/i915/intel_pm.c +++ b/drivers/gpu/drm/i915/intel_pm.c @@ -5595,6 +5595,8 @@ static void gen8_init_clock_gating(struct drm_device *dev) /* Wa4x4STCOptimizationDisable:bdw */ I915_WRITE(CACHE_MODE_1, _MASKED_BIT_ENABLE(GEN8_4x4_STC_OPTIMIZATION_DISABLE)); + + lpt_init_clock_gating(dev); } static void haswell_init_clock_gating(struct drm_device *dev)