From: Daniel Vetter Subject: Re: [PATCH 3/3] drm/i915: Use PIPE_CONTROL for flushing on gen6+. Date: Thu, 6 Oct 2011 01:54:47 +0200 Message-ID: <20111005235447.GB2858@phenom.ffwll.local> References: <1317708160-1761-1-git-send-email-kenneth@whitecape.org> <1317708160-1761-3-git-send-email-kenneth@whitecape.org> <20111005155713.6e2f0c6c@bwidawsk.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-ey0-f177.google.com (mail-ey0-f177.google.com [209.85.215.177]) by gabe.freedesktop.org (Postfix) with ESMTP id DBBF69EB0A for ; Wed, 5 Oct 2011 16:54:10 -0700 (PDT) Received: by eyd9 with SMTP id 9so2766139eyd.36 for ; Wed, 05 Oct 2011 16:54:10 -0700 (PDT) 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: Chris Wilson Cc: Ben Widawsky , intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Thu, Oct 06, 2011 at 12:36:03AM +0100, Chris Wilson wrote: > On Wed, 5 Oct 2011 15:57:13 -0700, Ben Widawsky wrote: > > I think we also want a TLB invalidate here, bit 18. This requires another > > workaround before issuing this flush: We need 2 Store Data Commands (such as > > MI_STORE_DATA_IMM or MI_STORE_DATA_INDEX) before sending PIPE_CONTROL w/ stall > > (20) and TLB inv bit (18) set > > Isn't that workaround itself rather hand-wavy? As in it gives the > hardware sufficient time to complete outstanding writes, but not > necessarily. Or am I thinking of yet another workaround... MI_STORE seems to be the hw teams favourite for adding these delays to paper over hw issues. I've seen it all over bspec ... -Daniel -- Daniel Vetter Mail: daniel@ffwll.ch Mobile: +41 (0)79 365 57 48