Re: [Intel-gfx] [PATCH 3/5] drm/i915: Remove node only when allocated

2013-08-12 Thread Ben Widawsky
On Sat, Aug 10, 2013 at 09:45:05AM +0100, Chris Wilson wrote: On Fri, Aug 09, 2013 at 10:12:14PM -0700, Ben Widawsky wrote: In upcoming code, it will be possible for a vma to have been created, but no space reserved for it in the address space. The drm_mm semantics are such that trying to

Re: [Intel-gfx] [PATCH 3/5] drm/i915: Remove node only when allocated

2013-08-10 Thread Chris Wilson
On Fri, Aug 09, 2013 at 10:12:14PM -0700, Ben Widawsky wrote: In upcoming code, it will be possible for a vma to have been created, but no space reserved for it in the address space. The drm_mm semantics are such that trying to remove an unallocated node is not allowed. But not allocated

[Intel-gfx] [PATCH 3/5] drm/i915: Remove node only when allocated

2013-08-09 Thread Ben Widawsky
In upcoming code, it will be possible for a vma to have been created, but no space reserved for it in the address space. The drm_mm semantics are such that trying to remove an unallocated node is not allowed. Signed-off-by: Ben Widawsky b...@bwidawsk.net --- drivers/gpu/drm/i915/i915_gem.c | 3