From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jani Nikula Subject: Re: [PATCH] drm/i915: Apply post-sync write for pipe control invalidates Date: Fri, 10 Aug 2012 13:46:17 +0300 Message-ID: <87a9y3ja86.fsf@intel.com> References: <1344589505-4835-1-git-send-email-chris@chris-wilson.co.uk> <1344590290-5206-1-git-send-email-chris@chris-wilson.co.uk> <87d32zjcgo.fsf@intel.com> <1344593270_68850@CP5-2952> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga14.intel.com (mga14.intel.com [143.182.124.37]) by gabe.freedesktop.org (Postfix) with ESMTP id B4E529EB4E for ; Fri, 10 Aug 2012 03:42:39 -0700 (PDT) In-Reply-To: <1344593270_68850@CP5-2952> 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: Chris Wilson , intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Fri, 10 Aug 2012, Chris Wilson wrote: > On Fri, 10 Aug 2012 12:57:59 +0300, Jani Nikula wrote: >> On Fri, 10 Aug 2012, 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: >> >> Hi Chris, AFAICT TLB invalidate requires PIPE_CONTROL_CS_STALL set per >> the spec. I can't find a mention of the post-sync write, though. Could >> you double check, please? > > Considering replacing it with a CS_STALL just hard hung my box, I remain > unconvinced. :-p I meant you could check the spec, not actually try it! ;) But I accept that's a good reason not to use it. BR, Jani.