From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Widawsky Subject: Re: [PATCH 7/7] drm/i915: add i915_get_reset_stats_ioctl Date: Wed, 3 Jul 2013 14:44:15 -0700 Message-ID: <20130703214415.GD5488@bwidawsk.net> References: <1372861332-6308-1-git-send-email-mika.kuoppala@intel.com> <1372861332-6308-8-git-send-email-mika.kuoppala@intel.com> <20130703151431.GB19383@cantiga.alporthouse.com> <20130703212323.GC5488@bwidawsk.net> <20130703214111.GF19383@cantiga.alporthouse.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from shiva.localdomain (unknown [209.20.75.48]) by gabe.freedesktop.org (Postfix) with ESMTP id 5F52CE64AC for ; Wed, 3 Jul 2013 14:44:19 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20130703214111.GF19383@cantiga.alporthouse.com> 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: Chris Wilson , Mika Kuoppala , intel-gfx@lists.freedesktop.org, Ian Romanick , Daniel Vetter List-Id: intel-gfx@lists.freedesktop.org On Wed, Jul 03, 2013 at 10:41:11PM +0100, Chris Wilson wrote: > On Wed, Jul 03, 2013 at 02:23:23PM -0700, Ben Widawsky wrote: > > On Wed, Jul 03, 2013 at 04:14:31PM +0100, Chris Wilson wrote: > > > Ben, will we be informing userspace about the ABI change? > > > > Hmm. I'm not convinced we ever want to reset the default context stats. > > I meant: will userspace be able to find out that the kernel now uses > per-fd default contexts. i.e. will I know if the kernel will > automatically allocate me a separate context and switch every time my > batches execute? > -Chris > > -- > Chris Wilson, Intel Open Source Technology Centre Yes. It won't be a requirement for mesa to know, but since I want to kill aliasing ppgtt as much as possible, I intend to update getparam to both set 0 to aliasing, and a new one for ppgtt. -- Ben Widawsky, Intel Open Source Technology Center