All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] aliasing ppgtt, advanced things
@ 2012-02-15 22:50 Daniel Vetter
  2012-02-15 22:50 ` [PATCH 1/5] drm/i915: split out dma mapping from global gtt bind/unbind functions Daniel Vetter
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Daniel Vetter @ 2012-02-15 22:50 UTC (permalink / raw)
  To: Intel Graphics Development; +Cc: Daniel Vetter

Hi all,

This patches here make bindings to the global gtt optional and are
hence preparation work for real per-process gtts. They also have the
benefits that we have fewer changes of randomly scribbling over
things.

The funky part here is the snb workaround, but we have a testcase for
that. And the workaround is indeed necessary because I've fumbled the
relocation domains in the test such that the workaround did not kick
in. And the test broke. But with the fixed up test everything works as
advertised.

The last patch also announces ppgtt hw support to userspace. This is
useful because certian MI instructions only work correctly with ppgtt
enabled (currently we don't use these for obvious reasons).

I'd like to merge this after qa has sufficiently beaten up the current
basic aliasing ppgtt implementation (and presuming nothing blows up
there).

Review, flames and comments highly welcome.

Yours, Daniel

Daniel Vetter (5):
  drm/i915: split out dma mapping from global gtt bind/unbind functions
  drm/i915: bind objects to the global gtt only when needed
  drm/i915: implement SNB workaround for lazy global gtt
  drm/i915: enable lazy global-gtt binding
  drm/i915: add HAS_ALIASING_PPGTT parameter for userspace

 drivers/gpu/drm/i915/i915_dma.c            |    3 ++
 drivers/gpu/drm/i915/i915_drv.h            |    6 ++-
 drivers/gpu/drm/i915/i915_gem.c            |   18 ++++++++--
 drivers/gpu/drm/i915/i915_gem_execbuffer.c |   15 ++++++++-
 drivers/gpu/drm/i915/i915_gem_gtt.c        |   49 ++++++++++++----------------
 drivers/gpu/drm/i915/i915_irq.c            |    3 +-
 include/drm/i915_drm.h                     |    3 +-
 7 files changed, 61 insertions(+), 36 deletions(-)

-- 
1.7.9

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

end of thread, other threads:[~2012-03-20 20:56 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-15 22:50 [PATCH 0/5] aliasing ppgtt, advanced things Daniel Vetter
2012-02-15 22:50 ` [PATCH 1/5] drm/i915: split out dma mapping from global gtt bind/unbind functions Daniel Vetter
2012-02-15 22:50 ` [PATCH 2/5] drm/i915: bind objects to the global gtt only when needed Daniel Vetter
2012-02-15 22:50 ` [PATCH 3/5] drm/i915: implement SNB workaround for lazy global gtt Daniel Vetter
2012-02-15 23:10   ` Chris Wilson
2012-02-15 23:25     ` Daniel Vetter
2012-03-20 20:57     ` Daniel Vetter
2012-02-15 22:50 ` [PATCH 4/5] drm/i915: enable lazy global-gtt binding Daniel Vetter
2012-02-15 22:50 ` [PATCH 5/5] drm/i915: add HAS_ALIASING_PPGTT parameter for userspace Daniel Vetter

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.