From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Widawsky Subject: [PATCH 0/9] HW context support for Ironlake (was: Re: [PATCH 0/9] HW contest support for Ironlake) Date: Sun, 14 Jul 2013 10:38:56 -0700 Message-ID: <20130714173856.GA23356@bwidawsk.net> References: <1373818974-23102-1-git-send-email-ben@bwidawsk.net> <20130714162415.GA23214@bwidawsk.net> 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 137F7E621E for ; Sun, 14 Jul 2013 10:35:39 -0700 (PDT) Received: from bwidawsk.net (c-24-21-100-90.hsd1.or.comcast.net [24.21.100.90]) by shiva.localdomain (Postfix) with ESMTPSA id 7239288167 for ; Sun, 14 Jul 2013 17:35:35 +0000 (UTC) Content-Disposition: inline In-Reply-To: <20130714162415.GA23214@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: Intel GFX List-Id: intel-gfx@lists.freedesktop.org Changed the mail subject... I'm not even sure what HW Contest support might be. On Sun, Jul 14, 2013 at 09:24:16AM -0700, Ben Widawsky wrote: > Why do I always forget this...? > > You guys can easily clone the kernel sources here for easier testing: > > http://cgit.freedesktop.org/~bwidawsk/drm-intel/log/?h=ilk_contexts > > On Sun, Jul 14, 2013 at 09:22:44AM -0700, Ben Widawsky wrote: > > By the request of Ken, and Chris, I've added support for HW contexts to > > Ironlake. This is not the first time I've done this, but I think I'll > > skip the somewhat ugly history on the matter. > > > > Our existing support for Ironlake sets up 2 contexts, the powerctx, and > > the renderctx. The former is stored in special memory on GEN6+, and the > > latter is *extremely* similar to the way we use default context on GEN6+ > > (ie. if users don't opt in to contexts, they are using it even if they > > don't realize). > > > > The patch series first tries to tie that renderctx into our existing > > i915 context code, and then rips out the old renderctx. Powerctx is left > > alone since it still really is a special case. > > > > Finally, in the series I reenable rc6 on ILK. I've never had an issue > > with this on my ILK, but I recommend anyone testing on it who sees > > issues to try to disable it via modparam firstly. > > > > The patch series is minimally tested. I told Chris and Ken at the > > offset, they'd need to do the heavy lifting on the testing front. > > > > Ben Widawsky (9): > > drm/i915: move ilk rc6 context setup > > drm/i915: Convert renderctx to a regular context > > drm/i915: Make ILK context objects more like others > > drm/i915: Add gen5 support to mi_set_context > > drm/i915: Use do_switch for ILK renderctx > > drm/i915: HW contexts for ILK > > drm/i915: Use only the default context for ILK > > drm/i915: Restore ILK powerctx pin attributes > > drm/i915: Re-enable rc6 on ILK (again^5) > > > > drivers/gpu/drm/i915/i915_debugfs.c | 6 ---- > > drivers/gpu/drm/i915/i915_drv.h | 3 +- > > drivers/gpu/drm/i915/i915_gem_context.c | 28 ++++++++++++++--- > > drivers/gpu/drm/i915/i915_reg.h | 1 + > > drivers/gpu/drm/i915/intel_pm.c | 56 --------------------------------- > > 5 files changed, 25 insertions(+), 69 deletions(-) > > > > -- > > 1.8.3.2 > > > > -- > Ben Widawsky, Intel Open Source Technology Center > _______________________________________________ > Intel-gfx mailing list > Intel-gfx@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/intel-gfx -- Ben Widawsky, Intel Open Source Technology Center