1. 14 Oct, 2016 4 commits
  2. 13 Oct, 2016 1 commit
  3. 12 Oct, 2016 1 commit
  4. 10 Oct, 2016 2 commits
  5. 03 Oct, 2016 1 commit
  6. 21 Sep, 2016 3 commits
  7. 15 Sep, 2016 1 commit
  8. 09 Sep, 2016 5 commits
  9. 27 Aug, 2016 1 commit
  10. 22 Aug, 2016 1 commit
    • Chris Wilson's avatar
      drm/i915: Ignore stuck requests when considering hangs · 34730fed
      Chris Wilson authored
      If the engine isn't being retired (worker starvation?) then it is
      possible for us to repeatedly observe that between consecutive
      hangchecks the seqno on the ring to be the same and there remain
      unretired requests. Ignore these completely and only regard the engine
      as busy for the purpose of hang detection (not stall detection) if there
      are outstanding breadcrumbs.
      
      In recent history we have looked at using both the request and seqno as
      indication of activity on the engine, but that was reduced to just
      inspecting seqno in commit cffa781e ("drm/i915: Simplify check for
      idleness in hangcheck"). However, in commit dcff85c8 ("drm/i915:
      Enable i915_gem_wait_for_idle() without holding struct_mutex"), I made
      the decision to use the new common lockless function, under the
      assumption that request retirement was more frequent than hangcheck and
      so we would not have a stuck busy check. The flaw there was in
      forgetting that we accumulate the hang score, and so successive checks
      seeing a stuck request, albeit with the GPU advancing elsewhere and so
      not necessary the same stuck request, would eventually trigger the hang.
      
      Fixes: dcff85c8
      
       ("drm/i915: Enable i915_gem_wait_for_idle()...")
      Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
      Cc: Mika Kuoppala <mika.kuoppala@intel.com>
      Link: http://patchwork.freedesktop.org/patch/msgid/20160820145408.32180-1-chris@chris-wilson.co.uk
      
      Reviewed-by: default avatarMika Kuoppala <mika.kuoppala@intel.com>
      34730fed
  11. 10 Aug, 2016 1 commit
  12. 05 Aug, 2016 2 commits
  13. 02 Aug, 2016 1 commit
  14. 27 Jul, 2016 1 commit
  15. 20 Jul, 2016 2 commits
  16. 15 Jul, 2016 1 commit
  17. 14 Jul, 2016 1 commit
  18. 07 Jul, 2016 1 commit
  19. 06 Jul, 2016 1 commit
  20. 05 Jul, 2016 3 commits
  21. 04 Jul, 2016 3 commits
  22. 01 Jul, 2016 3 commits