From: Daniel Vetter Subject: Re: [PATCH] drm/i915: Set guardband clipping workaround bit in the right register. Date: Tue, 9 Oct 2012 11:30:27 +0200 Message-ID: <20121009093027.GB5844@phenom.ffwll.local> References: <1349504795.4898.17.camel@mattotaupa> <1349625067-4677-1-git-send-email-kenneth@whitecape.org> <87txu4ks4x.fsf@rosetta.fi.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-ee0-f49.google.com (mail-ee0-f49.google.com [74.125.83.49]) by gabe.freedesktop.org (Postfix) with ESMTP id 655E49E73D for ; Tue, 9 Oct 2012 02:29:30 -0700 (PDT) Received: by mail-ee0-f49.google.com with SMTP id c1so3177545eek.36 for ; Tue, 09 Oct 2012 02:29:29 -0700 (PDT) Content-Disposition: inline In-Reply-To: <87txu4ks4x.fsf@rosetta.fi.intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Mika Kuoppala Cc: Daniel Vetter , intel-gfx@lists.freedesktop.org, Oliver McFadden List-Id: intel-gfx@lists.freedesktop.org On Tue, Oct 09, 2012 at 10:43:10AM +0300, Mika Kuoppala wrote: > On Sun, 7 Oct 2012 08:51:07 -0700, Kenneth Graunke wrote: > > A previous patch, namely: > > > > commit bf97b276ca04cee9ab65ffd378fa8e6aedd71ff6 > > Author: Daniel Vetter > > Date: Wed Apr 11 20:42:41 2012 +0200 > > > > drm/i915: implement w/a for incorrect guarband clipping > > > > accidentally set bit 5 in 3D_CHICKEN, which has nothing to do with > > clipping. This patch changes it to be set in 3D_CHICKEN3, where it > > belongs. > > > > The game "Dante" demonstrates random clipping issues when guardband > > clipping is enabled and bit 5 of 3D_CHICKEN3 isn't set. So the > > workaround is actually necessary. > > > > Cc: Daniel Vetter > > Cc: Oliver McFadden > > Acked-by: Paul Menzel > > Signed-off-by: Kenneth Graunke > > Reviewed-by: Mika Kuoppala Applied to -fixes, thanks for the patch&review. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch