From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Subject: Re: [PATCH] drm/i915: Clarify HW context size logic Date: Fri, 8 Feb 2013 09:47:45 +0100 Message-ID: <20130208084745.GQ5813@phenom.ffwll.local> References: <1360272859-10208-1-git-send-email-ben@bwidawsk.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-ee0-f51.google.com (mail-ee0-f51.google.com [74.125.83.51]) by gabe.freedesktop.org (Postfix) with ESMTP id 43C0CE5CEA for ; Fri, 8 Feb 2013 00:45:32 -0800 (PST) Received: by mail-ee0-f51.google.com with SMTP id d17so1749669eek.38 for ; Fri, 08 Feb 2013 00:45:31 -0800 (PST) Content-Disposition: inline In-Reply-To: <1360272859-10208-1-git-send-email-ben@bwidawsk.net> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Ben Widawsky Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org 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 > be. > > Signed-off-by: Ben Widawsky Queued for -next, thanks for the patch. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch