From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Subject: Re: [PATCH] drm/i915: Apply post-sync write for pipe control invalidates Date: Sat, 11 Aug 2012 21:47:22 +0200 Message-ID: <20120811194722.GE5132@phenom.ffwll.local> References: <1344589505-4835-1-git-send-email-chris@chris-wilson.co.uk> <1344590290-5206-1-git-send-email-chris@chris-wilson.co.uk> <20120811122019.7e917cc9@bwidawsk.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-wg0-f43.google.com (mail-wg0-f43.google.com [74.125.82.43]) by gabe.freedesktop.org (Postfix) with ESMTP id 828049E760 for ; Sat, 11 Aug 2012 12:47:02 -0700 (PDT) Received: by wgbdr1 with SMTP id dr1so1900282wgb.12 for ; Sat, 11 Aug 2012 12:47:01 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20120811122019.7e917cc9@bwidawsk.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: Ben Widawsky Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Sat, Aug 11, 2012 at 12:20:19PM -0700, Ben Widawsky wrote: > On Fri, 10 Aug 2012 10:18:10 +0100 > Chris Wilson wrote: > > > When invalidating the TLBs it is documentated as requiring a post-sync > > write. Failure to do so seems to result in a GPU hang. > > > > Exposure to this hang on IVB seems to be a result of removing the > > extra stalls required for SNB pipecontrol workarounds: > > > > commit 6c6cf5aa9c583478b19e23149feaa92d01fb8c2d > > Author: Chris Wilson > > Date: Fri Jul 20 18:02:28 2012 +0100 > > > > drm/i915: Only apply the SNB pipe control w/a to gen6 > > > > Reported-by: yex.tian@intel.com > > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=53322 > > Signed-off-by: Chris Wilson > > This is the moral equivalent of my patch to make the simulator happy > on IVB. Daniel, I'll settle for either patch. > Therefore, > Acked-by: Ben Widawsky Ok, I'll wait until we have testing feedback from the bug report and then either merge this to -fixes or -next. -Daniel -- Daniel Vetter Mail: daniel@ffwll.ch Mobile: +41 (0)79 365 57 48