From patchwork Wed Feb 8 18:10:31 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Bragg X-Patchwork-Id: 9562957 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id D989060434 for ; Wed, 8 Feb 2017 18:10:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E43DC2850E for ; Wed, 8 Feb 2017 18:10:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D773C28511; Wed, 8 Feb 2017 18:10:50 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 23DDF2850E for ; Wed, 8 Feb 2017 18:10:50 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 94D916E94F; Wed, 8 Feb 2017 18:10:49 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-pf0-x244.google.com (mail-pf0-x244.google.com [IPv6:2607:f8b0:400e:c00::244]) by gabe.freedesktop.org (Postfix) with ESMTPS id C4A566E94F for ; Wed, 8 Feb 2017 18:10:48 +0000 (UTC) Received: by mail-pf0-x244.google.com with SMTP id e4so12139715pfg.0 for ; Wed, 08 Feb 2017 10:10:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id; bh=RlHqT/ZLYl8npUB4FShd40cBsjN2bXhVvK9/CPbZ8Ro=; b=pOgOrwCZBgwyb7CZps9rmsa6TWPeOoxmaMbwxYXYJ7MQTcSfjUUlBxJC3d3A5+pFq2 IJpYFCDi93UOBPc/LBg1crSxcIaZFo7AJCIHHEjoc3D4pRlcKydAQCcojijPbg+lWn3y 5DC1SBvjFE/zqbMxkhg+vsxuw8T0B12Lw0Bp0LmTmGwWh56g8ovHXBlIgillJ7geFWQR Z1xywcZ3nYSi8aE5/oxscJhvA0SHBHR5R5GKUokJuFqhcmLYqfMZ6ir5OIoJ0RrgEMKL P6oZC+pGpMPangeEf9Rby4Z3N7kAhqbRWXnEDliSNOegd+2mZGNRiC9pxkVbhr16om+p 8rBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id; bh=RlHqT/ZLYl8npUB4FShd40cBsjN2bXhVvK9/CPbZ8Ro=; b=HQcxzx3YVVtVo5+vfoMG3VUHzesQTIm3GsB02VyveM5DZn8H72Ks9QmwXAsiWHliE9 yHm+ZVFLI04nXfsksY3AKF0w63U05MoULcb5s/6maxDoaMUZJrnUiOUo5UvtXD7E6r8+ mEca087s8tVkrha1xitYZsX6hhfVPgddljADlsW6p/Mw4miBZ7E3/FStgSXI+oi9bYUh 6dwQnX6GQrvluZzfBOUCuDGsWc8k4kOHheDWK+sZ1pWMESLdFMZqsGJqrNSPfxfgQ9YS jGlXcWqeHs0pyrQS9k3CY47zIYlsEvIaNL8BVNPdM4i0hyUMcNvjmb4oIjeE/gHwgFr7 /CAg== X-Gm-Message-State: AIkVDXIJvNhNH/YVjzwOGqfgfmFfqKQVXcc2xJM9BTE/yTfs+XhXi03RtB7m4sDycTSubw== X-Received: by 10.99.60.76 with SMTP id i12mr28042643pgn.170.1486577448452; Wed, 08 Feb 2017 10:10:48 -0800 (PST) Received: from sixbynine.org ([192.55.54.42]) by smtp.gmail.com with ESMTPSA id 66sm22085283pgg.47.2017.02.08.10.10.47 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 08 Feb 2017 10:10:47 -0800 (PST) From: Robert Bragg To: intel-gfx@lists.freedesktop.org Date: Wed, 8 Feb 2017 18:10:31 +0000 Message-Id: <20170208181031.3907-1-robert@sixbynine.org> X-Mailer: git-send-email 2.11.0 Subject: [Intel-gfx] [PATCH] drm/i915: fix for WaDisableDopClockGating:bdw X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.18 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-Virus-Scanned: ClamAV using ClamSMTP This workaround for BDW was incomplete as it also requires EUTC clock gating to be disabled via UCGCTL1. Signed-off-by: Robert Bragg --- drivers/gpu/drm/i915/intel_ringbuffer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.c b/drivers/gpu/drm/i915/intel_ringbuffer.c index 49fa8006c6a2..fa1b400a79d0 100644 --- a/drivers/gpu/drm/i915/intel_ringbuffer.c +++ b/drivers/gpu/drm/i915/intel_ringbuffer.c @@ -776,6 +776,7 @@ static int bdw_init_workarounds(struct intel_engine_cs *engine) /* WaDisableDopClockGating:bdw */ WA_SET_BIT_MASKED(GEN7_ROW_CHICKEN2, DOP_CLOCK_GATING_DISABLE); + WA_SET_BIT(GEN6_UCGCTL1, GEN6_EU_TCUNIT_CLOCK_GATE_DISABLE); WA_SET_BIT_MASKED(HALF_SLICE_CHICKEN3, GEN8_SAMPLER_POWER_BYPASS_DIS);