[Intel-gfx] [PATCH 0/9] gpu hang and swizzle patches

Daniel Vetter daniel.vetter at ffwll.ch
Thu Nov 10 14:17:58 CET 2011


Hi all,

This is a bit a mixed pile, but I've used all the earlier patches to test
the gen6+ swizzling patch and I like to send out patch series somewhat
resembling the setup I've tested them in.

Patches 1-2 refactor our debugfs code a bit.
Patches 3-5 implement a debugfs interface to simulate a gpu hang Patch 6
fixes the swizzle detection on i915G/i945G. This one is for stable and
independent of the previous patches.
Patches 7-8 add a debugfs file with information to debug swizzle issues
Patch 9 implements swizzle support for snb/ivb when in dual-channel mode

Benchmarking on my snb is notoriously difficult, but swizzling seems to
yield a few percent in some workloads, topping out at 5% for padman.

Review highly welcome.

Cheers, Daniel

Daniel Vetter (9):
  drm/i915: refactor debugfs open function
  drm/i915: refactor debugfs create functions
  drm/i915: add interface to simulate gpu hangs
  drm/i915: rework dev->first_error locking
  drm/i915: destroy existing error_state when simulating a gpu hang
  drm/i915: fix swizzle detection for gen3
  drm/i915: add debugfs file for swizzling information
  drm/i915: add gen6+ registers to i915_swizzle_info
  drm/i915: swizzling support for snb/ivb

 drivers/gpu/drm/i915/i915_debugfs.c     |  212 ++++++++++++++++++++++---------
 drivers/gpu/drm/i915/i915_dma.c         |    4 +-
 drivers/gpu/drm/i915/i915_drv.c         |    7 +-
 drivers/gpu/drm/i915/i915_drv.h         |    8 +-
 drivers/gpu/drm/i915/i915_gem.c         |   23 +++-
 drivers/gpu/drm/i915/i915_gem_tiling.c  |   20 +++-
 drivers/gpu/drm/i915/i915_irq.c         |    7 +-
 drivers/gpu/drm/i915/i915_reg.h         |   33 +++++
 drivers/gpu/drm/i915/intel_ringbuffer.c |    4 +
 9 files changed, 249 insertions(+), 69 deletions(-)

-- 
1.7.6.4




More information about the Intel-gfx mailing list