From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Wilson Subject: Re: [PATCH 04/13] drm/i915: Replace the pending_gpu_write flag with an explicit seqno Date: Sat, 14 Jul 2012 10:53:20 +0100 Message-ID: <1342259612_7144@CP5-2952> References: <1342185256-16024-1-git-send-email-chris@chris-wilson.co.uk> <1342185256-16024-5-git-send-email-chris@chris-wilson.co.uk> <20120713154101.GF5721@phenom.ffwll.local> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from fireflyinternet.com (smtp.fireflyinternet.com [109.228.6.236]) by gabe.freedesktop.org (Postfix) with ESMTP id 2B4759E96C for ; Sat, 14 Jul 2012 02:53:36 -0700 (PDT) In-Reply-To: <20120713154101.GF5721@phenom.ffwll.local> 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: Daniel Vetter Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Fri, 13 Jul 2012 17:41:01 +0200, Daniel Vetter wrote: > On Fri, Jul 13, 2012 at 02:14:07PM +0100, Chris Wilson wrote: > > As we always flush the GPU cache prior to emitting the breadcrumb, we no > > longer have to worry about the deferred flush causing the > > pending_gpu_write to be delayed. So we can instead utilize the known > > last_write_seqno to hopefully minimise the wait times. > > > > Signed-off-by: Chris Wilson > > I like this, but I'd prefer if this would be at the end of the series as a > neat improvement - I'd really prefer if we get together a somewhat minimal > fix to take care of the flushing list and intel_begin_ring interruptable > patch. > > The reason is that the merge window approaches fast, and if we're unlucky > the current -next cycle won't make it into 3.6, so I'd have to send Dave a > smaller pile of fixes. Which this doesn't really look like. > > Or do I again miss something? It's not really my brightest day ;-) This is just to enable removing the pending_gpu_write bit, and really if the flushing list removal wasn't to enable this patch, what was the point? :-p -Chris -- Chris Wilson, Intel Open Source Technology Centre