From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Subject: Re: [PATCH] drm/i915: Clear the existing watermarks for g4x when modifying the cursor sr Date: Tue, 4 Dec 2012 22:44:25 +0100 Message-ID: <20121204214425.GF11556@phenom.ffwll.local> References: <1354638799-3987-1-git-send-email-chris@chris-wilson.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-ea0-f177.google.com (mail-ea0-f177.google.com [209.85.215.177]) by gabe.freedesktop.org (Postfix) with ESMTP id B1EAEE6071 for ; Tue, 4 Dec 2012 13:43:08 -0800 (PST) Received: by mail-ea0-f177.google.com with SMTP id c10so1772975eaa.36 for ; Tue, 04 Dec 2012 13:43:08 -0800 (PST) Content-Disposition: inline In-Reply-To: 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: Paulo Zanoni Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Tue, Dec 04, 2012 at 05:48:53PM -0200, Paulo Zanoni wrote: > Hi > > 2012/12/4 Chris Wilson : > > In a couple of places we attempt to adjust the existing watermark > > registers to update them for the new cursor watermarks. This goes > > horribly wrong as instead of clearing the cursor bits prior to or'ing in > > the new values, we clear the rest of the register with the result that > > the watermark registers contain bogus values. > > > > References: https://bugs.freedesktop.org/show_bug.cgi?id=47034 > > Signed-off-by: Chris Wilson > > Reviewed-by: Paulo Zanoni > > Nice catch... Indeed. Picked up for -fixes, thanks for the patch. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch