All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] Wrap handling / seqno allocations
@ 2012-11-22 10:51 Mika Kuoppala
  2012-11-22 10:51 ` [PATCH 1/5] drm/i915: Wait upon the last request seqno, rather than a future seqno Mika Kuoppala
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Mika Kuoppala @ 2012-11-22 10:51 UTC (permalink / raw)
  To: intel-gfx; +Cc: Mika Kuoppala

Hi all,

This patchset tries to address the seqno wrapping issues in driver. 
When seqnos wrap, all requests need to be retired and this can fail.
Thus seqno_allocation is needed. We pre allocate seqnos prior to
pushing stuff into rings. Patch from Chris also avoids allocation
of seqno's when gpu_idle() is called for retiring. Without this
we would recurse back into next_request_seqno().

Comments, flames and reviews are all welcome.

Chris Wilson (1):
  drm/i915: Wait upon the last request seqno, rather than a future
    seqno

Mika Kuoppala (4):
  drm/i915: fix debugfs seqno info print to use uint
  drm/i915: Add i915_gem_alloc_seqno
  drm/i915: Allocate seqno conditionally in i915_add_request
  drm/i915: don't return seqno from ring->add_request()

 drivers/gpu/drm/i915/i915_debugfs.c        |    2 +-
 drivers/gpu/drm/i915/i915_drv.h            |    1 +
 drivers/gpu/drm/i915/i915_gem.c            |  102 ++++++++++++++++++++++++----
 drivers/gpu/drm/i915/i915_gem_execbuffer.c |   29 +++-----
 drivers/gpu/drm/i915/intel_ringbuffer.c    |   18 ++---
 drivers/gpu/drm/i915/intel_ringbuffer.h    |    2 +-
 6 files changed, 108 insertions(+), 46 deletions(-)

-- 
1.7.9.5

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

end of thread, other threads:[~2012-11-22 11:59 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-22 10:51 [PATCH 0/5] Wrap handling / seqno allocations Mika Kuoppala
2012-11-22 10:51 ` [PATCH 1/5] drm/i915: Wait upon the last request seqno, rather than a future seqno Mika Kuoppala
2012-11-22 10:51 ` [PATCH 2/5] drm/i915: fix debugfs seqno info print to use uint Mika Kuoppala
2012-11-22 10:51 ` [PATCH 3/5] drm/i915: Add i915_gem_alloc_seqno Mika Kuoppala
2012-11-22 10:51 ` [PATCH 4/5] drm/i915: Allocate seqno conditionally in i915_add_request Mika Kuoppala
2012-11-22 11:13   ` Chris Wilson
2012-11-22 11:59     ` Mika Kuoppala
2012-11-22 10:51 ` [PATCH 5/5] drm/i915: don't return seqno from ring->add_request() Mika Kuoppala

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.