commit | c4670ad080a1fe60d49f850e11f64a41db525496 | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Mon Aug 20 10:23:27 2012 +0100 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Tue Aug 21 14:34:20 2012 +0200 |
tree | fcd976c34eb795be6dbeef207d9b6a009040f5c3 | |
parent | 6c085a728cf000ac1865d66f8c9b52935558b328 [diff] |
drm/i915: Add some sanity checks to unbound tracking 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>