[Intel-gfx] [PATCH 7/9] drm/i915: Simplify i915_gem_object_ggtt_unpin

Chris Wilson chris at chris-wilson.co.uk
Tue Jan 28 15:21:57 CET 2014


On Tue, Jan 28, 2014 at 03:13:34PM +0200, Jani Nikula wrote:
> On Mon, 27 Jan 2014, Daniel Vetter <daniel.vetter at ffwll.ch> 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



More information about the Intel-gfx mailing list