Re: [Intel-gfx] [PATCH] drm/i915: Assert we do not attempt to reuse an allocated node

2017-01-16 Thread Joonas Lahtinen
On su, 2017-01-15 at 17:27 +, Chris Wilson wrote: > 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 Reviewed-by: Joonas Lahtinen Regards, Joonas -- Joonas Lahtinen Open Source Technolog

[Intel-gfx] [PATCH] drm/i915: Assert we do not attempt to reuse an allocated node

2017-01-15 Thread Chris Wilson
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 --- drivers/gpu/drm/i915/i915_gem_gtt.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/i915/i915_gem_gtt.c b/drivers/gpu/drm/i