[Intel-gfx] [PATCH] drm/i915: Clear vma->bound on unbinding

Daniel Vetter daniel at ffwll.ch
Wed May 6 03:12:01 PDT 2015


On Thu, Apr 30, 2015 at 11:02:31AM +0300, Mika Kuoppala wrote:
> Unbinding doesn't always lead to unconditional destruction
> of vma. This destruction avoidance happens if vma is part of
> execbuffer relocation list or if vma is being considered for
> eviction in i915_gem_evict_something().
> 
> For those other users, mark the vma unbound so that
> the correct state of this vma is preserved.
> 
> Reported-by: Chris Wilson <chris at chris-wilson.co.ok>
> Cc: Chris Wilson <chris at chris-wilson.co.ok>
> Cc: Daniel Vetter <daniel.vetter at ffwll.ch>
> Signed-off-by: Mika Kuoppala <mika.kuoppala at intel.com>

I guess I still need this one?

Queued for -next, thanks for the patch.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


More information about the Intel-gfx mailing list