commit | 9734ad13c2321e8efc1fab4665d40d88e947c560 | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Sun Jan 15 17:27:40 2017 +0000 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Mon Jan 16 12:21:20 2017 +0000 |
tree | 9f388ce1a9920c270ee8ed35315a3ca4baec7caa | |
parent | 3fec7ec4450fee2f18fe20088209193999d8ff94 [diff] |
drm/i915: Assert we do not attempt to reuse an allocated node i915_gem_gtt_reserve() and i915_gem_gtt_insert() can only work on unallocated nodes. Check that the callers complies. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Link: http://patchwork.freedesktop.org/patch/msgid/20170115172740.28995-1-chris@chris-wilson.co.uk Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>