Re: [Intel-gfx] [PATCH] drm/i915: Clarify HW context size logic

2013-02-08 Thread Daniel Vetter
On Thu, Feb 07, 2013 at 01:34:19PM -0800, Ben Widawsky wrote: > This was a rebase error from when the patches originally landed. Since > the context size is unsigned, there is also no use in checking if it's > less than 0. > > The existing code is not really wrong, but it's not simple as it should

[Intel-gfx] [PATCH] drm/i915: Clarify HW context size logic

2013-02-07 Thread Ben Widawsky
This was a rebase error from when the patches originally landed. Since the context size is unsigned, there is also no use in checking if it's less than 0. The existing code is not really wrong, but it's not simple as it should be. Signed-off-by: Ben Widawsky --- drivers/gpu/drm/i915/i915_gem_co