From: Chris Wilson Subject: Re: [PATCH 7/9] drm/i915: Simplify i915_gem_object_ggtt_unpin Date: Tue, 28 Jan 2014 14:21:57 +0000 Message-ID: <20140128142157.GR2508@nuc-i3427.alporthouse.com> References: <1390846259-14915-1-git-send-email-daniel.vetter@ffwll.ch> <1390846259-14915-8-git-send-email-daniel.vetter@ffwll.ch> <87fvo845c1.fsf@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from fireflyinternet.com (mail.fireflyinternet.com [87.106.93.118]) by gabe.freedesktop.org (Postfix) with ESMTP id 1E7F7FB90E for ; Tue, 28 Jan 2014 06:22:10 -0800 (PST) Content-Disposition: inline In-Reply-To: <87fvo845c1.fsf@intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org To: Jani Nikula Cc: Daniel Vetter , Intel Graphics Development , Ben Widawsky List-Id: intel-gfx@lists.freedesktop.org On Tue, Jan 28, 2014 at 03:13:34PM +0200, Jani Nikula wrote: > On Mon, 27 Jan 2014, Daniel Vetter wrote: > > Split out from Chris vma-bind rework. > > "simplify" does not explain to me *why* you can skip two checks in the > code. Because they are all repeated in i915_vma_unbind(). -Chris -- Chris Wilson, Intel Open Source Technology Centre