[Intel-gfx] [PATCH 0/6] ring seqno wrap handling

Mika Kuoppala mika.kuoppala at linux.intel.com
Tue Dec 4 14:11:59 CET 2012


Hi,

As Ben suggested, explicitly syncing across wrap boundary
revealed yet another set of issues that gem_stress didn't find.

So here is a patchset which addresses the syncing problems
across wrap boundary. Chris helped me to carve out seqno handling
ugliness from my initial attempts to handle the ring wrapping.

As I can't break this anymore, i added 6/6.
--Mika

Mika Kuoppala (6):
  drm/i915: Add debugfs entry to read/write next_seqno
  drm/i915: Fix debugfs seqno info print to use uint
  drm/i915: Don't emit semaphore wait if wrap happened
  drm/i915: Split intel_ring_begin
  drm/i915: Add intel_ring_handle_seqno wrap
  drm/i915: Set initial seqno value close to wrap boundary

 drivers/gpu/drm/i915/i915_debugfs.c     |   88 ++++++++++++++++++++++++++++++-
 drivers/gpu/drm/i915/i915_gem.c         |    6 ++-
 drivers/gpu/drm/i915/intel_ringbuffer.c |   72 +++++++++++++++++++------
 drivers/gpu/drm/i915/intel_ringbuffer.h |    2 +-
 4 files changed, 148 insertions(+), 20 deletions(-)

-- 
1.7.9.5




More information about the Intel-gfx mailing list