All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/9] HW contest support for Ironlake
@ 2013-07-14 16:22 Ben Widawsky
  2013-07-14 16:22 ` [PATCH 1/9] drm/i915: move ilk rc6 context setup Ben Widawsky
                   ` (12 more replies)
  0 siblings, 13 replies; 26+ messages in thread
From: Ben Widawsky @ 2013-07-14 16:22 UTC (permalink / raw)
  To: Intel GFX; +Cc: Ben Widawsky

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

^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2013-07-16 18:21 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-14 16:22 [PATCH 0/9] HW contest support for Ironlake Ben Widawsky
2013-07-14 16:22 ` [PATCH 1/9] drm/i915: move ilk rc6 context setup Ben Widawsky
2013-07-14 16:22 ` [PATCH 2/9] drm/i915: Convert renderctx to a regular context Ben Widawsky
2013-07-15 10:24   ` Chris Wilson
2013-07-15 18:04     ` [PATCH 2/9] [v2] " Ben Widawsky
2013-07-14 16:22 ` [PATCH 3/9] drm/i915: Make ILK context objects more like others Ben Widawsky
2013-07-14 19:10   ` [PATCH 3/9] [v2] " Ben Widawsky
2013-07-14 16:22 ` [PATCH 4/9] drm/i915: Add gen5 support to mi_set_context Ben Widawsky
2013-07-14 16:22 ` [PATCH 5/9] drm/i915: Use do_switch for ILK renderctx Ben Widawsky
2013-07-14 16:22 ` [PATCH 6/9] drm/i915: HW contexts for ILK Ben Widawsky
2013-07-14 16:22 ` [PATCH 7/9] drm/i915: Use only the default context " Ben Widawsky
2013-07-14 16:22 ` [PATCH 8/9] drm/i915: Restore ILK powerctx pin attributes Ben Widawsky
2013-07-15 10:30   ` Chris Wilson
2013-07-15 17:58     ` Ben Widawsky
2013-07-15 22:12       ` Chris Wilson
2013-07-14 16:22 ` [PATCH 9/9] drm/i915: Re-enable rc6 on ILK (again^5) Ben Widawsky
2013-07-14 18:35   ` Daniel Vetter
2013-07-14 19:09   ` [PATCH 9/9] [v2] drm/i915: enable rc6 on ILK again^5 Ben Widawsky
2013-07-14 16:22 ` [PATCH] i965: Gen5: Use HW contexts on Ironlake Ben Widawsky
2013-07-14 16:24 ` [PATCH 0/9] HW contest support for Ironlake Ben Widawsky
2013-07-14 17:38   ` [PATCH 0/9] HW context support for Ironlake (was: Re: [PATCH 0/9] HW contest support for Ironlake) Ben Widawsky
2013-07-15 10:32 ` [PATCH 0/9] HW contest support for Ironlake Chris Wilson
2013-07-15 12:44 ` Chris Wilson
2013-07-15 17:24   ` Ben Widawsky
2013-07-15 18:52     ` Chris Wilson
2013-07-16 18:21   ` Ben Widawsky

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.