Re: [Intel-gfx] [PATCH 4/4] drm/i915: convert to using range_overflows

2016-12-13 Thread Chris Wilson
On Tue, Dec 13, 2016 at 08:32:22PM +, Matthew Auld wrote: > Convert some of the obvious hand-rolled ranged overflow sanity checks to > our shiny new range_overflows macro. > > Cc: Joonas Lahtinen > Cc: Chris Wilson > Suggested-by: Chris Wilson > Signed-off-by: Matthew Auld Reviewed-by: Chr

[Intel-gfx] [PATCH 4/4] drm/i915: convert to using range_overflows

2016-12-13 Thread Matthew Auld
Convert some of the obvious hand-rolled ranged overflow sanity checks to our shiny new range_overflows macro. Cc: Joonas Lahtinen Cc: Chris Wilson Suggested-by: Chris Wilson Signed-off-by: Matthew Auld --- drivers/gpu/drm/i915/i915_gem.c | 6 ++ drivers/gpu/drm/i915/i915_vma.c | 6 ++