Re: [Intel-gfx] [PATCH 2/4] drm/i915: move vma sanity checking into i915_vma_bind

2016-12-13 Thread Chris Wilson
On Tue, Dec 13, 2016 at 08:32:20PM +, Matthew Auld wrote: > If we move the sanity checking from gen8_alloc_va_range_3lvl and > gen6_alloc_va_range into i915_vma_bind, we will increase our coverage to > now both callbacks. We also convert each WARN_ON over to a GEM_WARN_ON. > > Cc: Joonas Lahti

[Intel-gfx] [PATCH 2/4] drm/i915: move vma sanity checking into i915_vma_bind

2016-12-13 Thread Matthew Auld
If we move the sanity checking from gen8_alloc_va_range_3lvl and gen6_alloc_va_range into i915_vma_bind, we will increase our coverage to now both callbacks. We also convert each WARN_ON over to a GEM_WARN_ON. Cc: Joonas Lahtinen Cc: Chris Wilson Suggested-by: Chris Wilson Signed-off-by: Matthe