From patchwork Thu Oct 4 17:49:24 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Damien Lespiau X-Patchwork-Id: 1547311 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 220FEDFFCF for ; Thu, 4 Oct 2012 17:50:11 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0BB47A1094 for ; Thu, 4 Oct 2012 10:50:11 -0700 (PDT) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-we0-f177.google.com (mail-we0-f177.google.com [74.125.82.177]) by gabe.freedesktop.org (Postfix) with ESMTP id 8D39FA1093 for ; Thu, 4 Oct 2012 10:49:35 -0700 (PDT) Received: by mail-we0-f177.google.com with SMTP id u50so508930wey.36 for ; Thu, 04 Oct 2012 10:49:34 -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=lvXepDdOngcVGU1A6O5fEFGhHt1veLNPvGlgPgYyDGs=; b=z7H84QDwOde5VAjmVm0EVuuUpJCAbey6gIyfWKqWmKQE0kkdnyI1/OPV0A/VD9JNKg nhlIOaXAgCd3vEiqlKxWjfuc8svXqY3/6wHFWs4ZW0dyepNm+dDKZbYEar/yChg7LqXE MhKz2jZWfInX1lhWxS3R8UobstH/6WNxDblPlvv61No5X+q0EhiEPlu7rqzoGU/8lCB2 Ef7NgnbKd4VU/rXFcBKacSNAgPcfhqGDAhgPK1v10i9a5Q5hEJVPQuPk7mA/aEuJMjj9 hm+6Z/ijwYeyLadYEYv19BtUXGZWtE6VrPDBaCddGvadhCv3rYpYeZBNn0arHfPrqVrg Irnw== Received: by 10.216.201.140 with SMTP id b12mr3725216weo.223.1349372974726; Thu, 04 Oct 2012 10:49:34 -0700 (PDT) Received: from localhost.localdomain ([83.217.123.106]) by mx.google.com with ESMTPS id ct3sm33463495wib.5.2012.10.04.10.49.30 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 04 Oct 2012 10:49:30 -0700 (PDT) From: Damien Lespiau To: intel-gfx@lists.freedesktop.org Date: Thu, 4 Oct 2012 18:49:24 +0100 Message-Id: <1349372964-11889-2-git-send-email-damien.lespiau@gmail.com> X-Mailer: git-send-email 1.7.7.5 In-Reply-To: <1349372964-11889-1-git-send-email-damien.lespiau@gmail.com> References: <1349372964-11889-1-git-send-email-damien.lespiau@gmail.com> Cc: Paulo Zanoni Subject: [Intel-gfx] [PATCH 2/2] drm/i915: Remove the WaDisableBackToBackFlipFix w/a for Haswell 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: Damien Lespiau This workaround is only valid for IVB and VLV and the write triggers an error on HSW. Signed-off-by: Damien Lespiau Cc: Paulo Zanoni Reviewed-by: Paulo Zanoni --- drivers/gpu/drm/i915/intel_pm.c | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c index 3d219ec..d0403e8 100644 --- a/drivers/gpu/drm/i915/intel_pm.c +++ b/drivers/gpu/drm/i915/intel_pm.c @@ -3479,10 +3479,6 @@ static void haswell_init_clock_gating(struct drm_device *dev) I915_WRITE(_3D_CHICKEN3, _MASKED_BIT_ENABLE(_3D_CHICKEN_SF_DISABLE_OBJEND_CULL)); - I915_WRITE(IVB_CHICKEN3, - CHICKEN3_DGMG_REQ_OUT_FIX_DISABLE | - CHICKEN3_DGMG_DONE_FIX_DISABLE); - /* Apply the WaDisableRHWOOptimizationForRenderHang workaround. */ I915_WRITE(GEN7_COMMON_SLICE_CHICKEN1, GEN7_CSC1_RHWO_OPT_DISABLE_IN_RCC);