From: Ben Widawsky Date: Wed, 14 Aug 2013 09:38:35 +0000 (+0200) Subject: drm/i915: prepare bind_to_vm for preallocated vma X-Git-Tag: v3.12-rc1~136^2~14^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=accfef2e5a8f713bfa0c06696b5e10754686dc72;p=pandora-kernel.git drm/i915: prepare bind_to_vm for preallocated vma In the new execbuf code we want to track buffers using the vmas even before they're all properly mapped. Which means that bind_to_vm needs to deal with buffers which have preallocated vmas which aren't yet bound. This patch implements this prep work and adjusts our WARN/BUG checks. Signed-off-by: Ben Widawsky [danvet: Split out from Ben's big execbuf patch. Also move one BUG back to its original place to deflate the diff a notch.] Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed