From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Subject: Re: [PATCH] drm/i915: Don't forget to apply SNB PIPE_CONTROL GTT workaround. Date: Sun, 5 Aug 2012 21:46:50 +0200 Message-ID: <20120805194648.GA7948@phenom.ffwll.local> References: <1343697866-5572-1-git-send-email-eric@anholt.net> <1343774101-8569-1-git-send-email-eric@anholt.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-we0-f177.google.com (mail-we0-f177.google.com [74.125.82.177]) by gabe.freedesktop.org (Postfix) with ESMTP id C39E19E7F4 for ; Sun, 5 Aug 2012 12:46:34 -0700 (PDT) Received: by weyr3 with SMTP id r3so1726335wey.36 for ; Sun, 05 Aug 2012 12:46:33 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1343774101-8569-1-git-send-email-eric@anholt.net> 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: Eric Anholt Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Tue, Jul 31, 2012 at 03:35:01PM -0700, Eric Anholt wrote: > If a buffer that was the target of a PIPE_CONTROL from userland was a > reused one that hadn't been evicted which had not previously had this > workaround applied, then the early return for a correct > presumed_offset in this function meant we would not bind it into the > GTT and the write would land somewhere else. > > Fixes reproducible failures with GL_EXT_timer_query usage in apitrace, > and I also expect it to fix the intermittent OQ issues on snb that > danvet's been working on. > > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=48019 > Signed-off-by: Eric Anholt > Reviewed-by: Chris Wilson > Reviewed-by: Carl Worth > Tested-by: Carl Worth Picked up for -fixes, thanks for the patch. I've also added a bz line for #52932 to the commit. I should have noticed this while banging against this particular wall, I guess I owe you a few beers for tracking it down ;-) Cheers, Daniel -- Daniel Vetter Mail: daniel@ffwll.ch Mobile: +41 (0)79 365 57 48