From: Mika Kuoppala Subject: Re: [PATCH] drm/i915: Return -ENOENT for unknown contexts Date: Thu, 17 Apr 2014 13:22:22 +0300 Message-ID: <87bnw0l0gx.fsf@gaia.fi.intel.com> References: <1397638689-9352-1-git-send-email-mika.kuoppala@intel.com> <20140417074919.GK4415@nuc-i3427.alporthouse.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga03.intel.com (mga03.intel.com [143.182.124.21]) by gabe.freedesktop.org (Postfix) with ESMTP id 9449D6E4FA for ; Thu, 17 Apr 2014 03:23:17 -0700 (PDT) In-Reply-To: <20140417074919.GK4415@nuc-i3427.alporthouse.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: Chris Wilson Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org Chris Wilson writes: > On Wed, Apr 16, 2014 at 11:58:09AM +0300, Mika Kuoppala wrote: >> From: Mika Kuoppala >> >> If hw_contexts are disabled, we always return the per file >> descriptor default context stats. Make sure that the context >> is correctly given and fail accordingly if not. >> >> Testcase: igt/gem_reset_stats/params >> Signed-off-by: Mika Kuoppala > > This code is obsolete, and the bug should be already fixed by > > commit 691e6415c891b8b2b082a120b896b443531c4d45 > Author: Chris Wilson > Date: Wed Apr 9 09:07:36 2014 +0100 > > drm/i915: Always use kref tracking for all contexts. Agreed. I should have run it against fixes in addition to dinq. -Mika > -Chris > > -- > Chris Wilson, Intel Open Source Technology Centre