[PATCH v2 00/11] Execlist based Engine reset patches

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



These patches are to add engine reset feature from Gen8. This is also
referred to as Timeout detection and recovery (TDR). This complements to
the full gpu reset feature available in i915 but it only allows to reset a
particular engine instead of all engines thus providing a light weight
engine reset and recovery mechanism.

This implementation is for execlist based submission only hence limited
from Gen8 onwards.

Timeout detection is by means of existing hangcheck which remains the same,
main changes are to the recovery mechanism. Once we detect a hang on a
particular engine we identify the request that caused the hang, skip the
request and adjust head pointers to allow the execution to proceed
normally. After some cleanup, submissions are restarted to process
remaining work queued to that engine.

If engine reset fails to recover engine correctly then we fallback to full
gpu reset.

v2: ELSP queue request tracking and reset path changes to handle incomplete
requests during reset. Thanks to Chris Wilson for providing these patches.

Arun Siluvery (6):
  drm/i915: Update i915.reset to handle engine resets
  drm/i915/tdr: Modify error handler for per engine hang recovery
  drm/i915/tdr: Add support for per engine reset recovery
  drm/i915/tdr: Add engine reset count to error state
  drm/i915/tdr: Export reset count info to debugfs
  drm/i915/tdr: Enable Engine reset and recovery support

Chris Wilson (4):
  drm/i915: Record the position of the start of the request
  drm/i915: Simplify ELSP queue request tracking
  drm/i915: Update reset path to fix incomplete requests
  drm/i915: Separate out reset flags from the reset counter

Mika Kuoppala (1):
  drm/i915: Skip reset request if there is one already

 drivers/gpu/drm/i915/i915_debugfs.c     |  21 +-
 drivers/gpu/drm/i915/i915_drv.c         |  90 ++++++-
 drivers/gpu/drm/i915/i915_drv.h         |  59 ++---
 drivers/gpu/drm/i915/i915_gem.c         |  74 ++++--
 drivers/gpu/drm/i915/i915_gem_context.c |  16 --
 drivers/gpu/drm/i915/i915_gem_request.c |  37 +--
 drivers/gpu/drm/i915/i915_gem_request.h |  24 +-
 drivers/gpu/drm/i915/i915_gpu_error.c   |   9 +-
 drivers/gpu/drm/i915/i915_irq.c         | 125 +++++----
 drivers/gpu/drm/i915/i915_params.c      |   6 +-
 drivers/gpu/drm/i915/i915_params.h      |   2 +-
 drivers/gpu/drm/i915/intel_display.c    |  25 +-
 drivers/gpu/drm/i915/intel_drv.h        |   4 +-
 drivers/gpu/drm/i915/intel_lrc.c        | 455 +++++++++++++-------------------
 drivers/gpu/drm/i915/intel_lrc.h        |   3 +-
 drivers/gpu/drm/i915/intel_ringbuffer.c |  32 ++-
 drivers/gpu/drm/i915/intel_ringbuffer.h |   9 +-
 drivers/gpu/drm/i915/intel_uncore.c     |  55 +++-
 18 files changed, 565 insertions(+), 481 deletions(-)

-- 
1.9.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux