From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Subject: Re: [PATCH 1/2] drm/i915: Reorganise rules for get_fence/put_fence Date: Fri, 23 Mar 2012 20:08:36 +0100 Message-ID: <20120323190836.GG4087@phenom.ffwll.local> References: <1332429001-13725-1-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-wi0-f171.google.com (mail-wi0-f171.google.com [209.85.212.171]) by gabe.freedesktop.org (Postfix) with ESMTP id 79AAEA10F5 for ; Fri, 23 Mar 2012 12:07:52 -0700 (PDT) Received: by wibhj13 with SMTP id hj13so1759737wib.12 for ; Fri, 23 Mar 2012 12:07:51 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1332429001-13725-1-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, Mar 22, 2012 at 03:10:00PM +0000, Chris Wilson wrote: > By simplifying the rules to calling get_fence when writing to the > through the GTT in a tiled manner, and calling put_fence before writing > to the object through the GTT in a linear manner, the code becomes > clearer and there is less chance of making a mistake. > > Signed-off-by: Chris Wilson Reviewed-by: Daniel Vetter -- Daniel Vetter Mail: daniel@ffwll.ch Mobile: +41 (0)79 365 57 48