From: Daniel Vetter Subject: Re: [PATCH v2] drm/i915/ctx: Remove bad invariant Date: Tue, 12 Feb 2013 14:25:19 +0100 Message-ID: <20130212132519.GB5813@phenom.ffwll.local> References: <1360617875-20873-1-git-send-email-ben@bwidawsk.net> <1360618287-2350-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-wg0-f51.google.com (mail-wg0-f51.google.com [74.125.82.51]) by gabe.freedesktop.org (Postfix) with ESMTP id 0FE23E6189 for ; Tue, 12 Feb 2013 05:23:04 -0800 (PST) Received: by mail-wg0-f51.google.com with SMTP id 8so52878wgl.6 for ; Tue, 12 Feb 2013 05:23:04 -0800 (PST) Content-Disposition: inline In-Reply-To: <1360618287-2350-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 Mon, Feb 11, 2013 at 01:31:27PM -0800, Ben Widawsky wrote: > It's not that the assertion is incorrect, but rather that we can call > do_destroy early in loading, and we will falsely BUG(). > > Since contexts have been in for a while now, and in the internal APIs > are pretty stable, it should be fairly safe to remove this. > > v2: Remove unused dev_priv, and dev > > 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