From: Ben Widawsky Date: Thu, 1 Aug 2013 00:00:16 +0000 (-0700) Subject: drm/i915: Add vma to list at creation X-Git-Tag: v3.12-rc1~136^2~59^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b9c2b9411dd55617442f8151fb6fb2849c72f7e;p=pandora-kernel.git drm/i915: Add vma to list at creation With the current code there shouldn't be a distinction - however with an upcoming change we intend to allocate a vma much earlier, before it's actually bound anywhere. To do this we have to check node allocation as well for the _bound() check. Signed-off-by: Ben Widawsky [danvet: move list_del(&vma->vma_link) from vma_unbind to vma_destroy, again fallout from the loss of "rm/i915: Cleanup more of VMA in destroy".] Signed-off-by: Daniel Vetter fixup for drm/i915: Add vma to list at creation --- Reading git-diff-tree failed