drm/i915: Add some sanity checks to unbound tracking
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 20 Aug 2012 09:23:27 +0000 (10:23 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 21 Aug 2012 12:34:20 +0000 (14:34 +0200)
A pair of universally true checks that just need to be put in the right
place depending on where in the patch sequence you go. Note that
i915_gem_object_put_pages_gtt() already gains the
BUG_ON(obj->gtt_space), but on reflection that needed to migrate to
put_pages().

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>

No differences found