From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Subject: Re: [PATCH 03/13] drm/i915: Introduce i915_gem_object_finish_gpu() Date: Thu, 14 Apr 2011 18:01:13 +0200 Message-ID: <20110414160111.GA3408@viiv.ffwll.ch> References: <1302771827-26112-1-git-send-email-chris@chris-wilson.co.uk> <1302771827-26112-4-git-send-email-chris@chris-wilson.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-wy0-f177.google.com (mail-wy0-f177.google.com [74.125.82.177]) by gabe.freedesktop.org (Postfix) with ESMTP id A8B599E7B3 for ; Thu, 14 Apr 2011 09:01:18 -0700 (PDT) Received: by wyb28 with SMTP id 28so1941824wyb.36 for ; Thu, 14 Apr 2011 09:01:17 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1302771827-26112-4-git-send-email-chris@chris-wilson.co.uk> 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: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Thu, Apr 14, 2011 at 10:03:37AM +0100, Chris Wilson wrote: > ... reincarnated from i915_gem_object_flush_gpu(). The semantic > difference is that after calling finish_gpu() the object no longer > resides in any GPU domain, and so will cause the GPU caches to be > invalidated if it is ever used again. We might want to add a bool pipelined argument to finish_gpu so we can reuse it in object_flush_fence. But that's for a later patch. Reviewed-by: Daniel Vetter -- Daniel Vetter Mail: daniel@ffwll.ch Mobile: +41 (0)79 365 57 48