From patchwork Thu Oct 4 17:49:23 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Damien Lespiau X-Patchwork-Id: 1547301 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 8A0F9DFFCF for ; Thu, 4 Oct 2012 17:49:40 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6F261A107C for ; Thu, 4 Oct 2012 10:49:40 -0700 (PDT) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-wi0-f177.google.com (mail-wi0-f177.google.com [209.85.212.177]) by gabe.freedesktop.org (Postfix) with ESMTP id 0BAF69EFF2 for ; Thu, 4 Oct 2012 10:49:30 -0700 (PDT) Received: by mail-wi0-f177.google.com with SMTP id hj13so888909wib.12 for ; Thu, 04 Oct 2012 10:49:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:x-mailer; bh=6CpVJPc0mIe0MvUMERWbEyxWP2a+zufjTU0xzbsEViA=; b=CYyMFLLeFcPTHz1wPbmCMDmeYyEOPxVSBOD1oaYe9DxeH94meoPGzRSQjtcyxfy2w9 UnUYbw5RwN01mnMXldZH9vjE+iXmCH4yWq2TZT04cpjyb9QNMp9Q0VgrnTnbZAYJBTDH cmZLrJ78/9kRAC07DHOqFyN0SlWSYPY7TjIINSR6Tgw3nBHRgOcIH9dscb7Zr/YYSzyw vdQkTWxU1IhSXrF99pgoeDD27phfVitKKIwcOGx92s/S0uZgQFjyXx0tGtaeFfVYcHil b85ehLz4L9QK6+wzKvCyE4RWeI9AyNzLmG9/ynz3B6BRxzocyL+CcsxIg28FVJM2G/dM cq6w== Received: by 10.216.134.85 with SMTP id r63mr3419499wei.150.1349372970030; Thu, 04 Oct 2012 10:49:30 -0700 (PDT) Received: from localhost.localdomain ([83.217.123.106]) by mx.google.com with ESMTPS id ct3sm33463495wib.5.2012.10.04.10.49.28 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 04 Oct 2012 10:49:29 -0700 (PDT) From: Damien Lespiau To: intel-gfx@lists.freedesktop.org Date: Thu, 4 Oct 2012 18:49:23 +0100 Message-Id: <1349372964-11889-1-git-send-email-damien.lespiau@gmail.com> X-Mailer: git-send-email 1.7.7.5 Subject: [Intel-gfx] [PATCH 1/2] drm/i915: Document that we are implementing WaDisableBackToBackFlipFix 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 For the next person that checks these kind of things, without having to dig up the register definition. Signed-off-by: Damien Lespiau Reviewed-by: Paulo Zanoni --- drivers/gpu/drm/i915/intel_pm.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c index 62fe848..3d219ec 100644 --- a/drivers/gpu/drm/i915/intel_pm.c +++ b/drivers/gpu/drm/i915/intel_pm.c @@ -3541,6 +3541,7 @@ static void ivybridge_init_clock_gating(struct drm_device *dev) I915_WRITE(_3D_CHICKEN3, _MASKED_BIT_ENABLE(_3D_CHICKEN_SF_DISABLE_OBJEND_CULL)); + /* WaDisableBackToBackFlipFix */ I915_WRITE(IVB_CHICKEN3, CHICKEN3_DGMG_REQ_OUT_FIX_DISABLE | CHICKEN3_DGMG_DONE_FIX_DISABLE); @@ -3621,6 +3622,7 @@ static void valleyview_init_clock_gating(struct drm_device *dev) I915_WRITE(_3D_CHICKEN3, _MASKED_BIT_ENABLE(_3D_CHICKEN_SF_DISABLE_OBJEND_CULL)); + /* WaDisableBackToBackFlipFix */ I915_WRITE(IVB_CHICKEN3, CHICKEN3_DGMG_REQ_OUT_FIX_DISABLE | CHICKEN3_DGMG_DONE_FIX_DISABLE);