On Mon, Aug 19, 2013 at 09:53:23AM +0300, Dan Carpenter wrote:
We sometimes call i915_vma_unbind() inside the loop and that can free the vma.
Oh. That is bad. The vma needs to be pinned here to prevent it being freed as otherwise we lose track of it during the execbuffer. Ben? -Chris