1. 09 11月, 2017 1 次提交
    • C
      drm/i915: Filter out spurious execlists context-switch interrupts · 5d266692
      Chris Wilson 提交于
      Back in commit a4b2b015 ("drm/i915: Don't mark an execlists
      context-switch when idle") we noticed the presence of late
      context-switch interrupts. We were able to filter those out by looking
      at whether the ELSP remained active, but in commit beecec90
      ("drm/i915/execlists: Preemption!") that became problematic as we now
      anticipate receiving a context-switch event for preemption while ELSP
      may be empty. To restore the spurious interrupt suppression, add a
      counter for the expected number of pending context-switches and skip if
      we do not need to handle this interrupt to make forward progress.
      
      v2: Don't forget to switch on for preempt.
      v3: Reduce the counter to a on/off boolean tracker. Declare the HW as
      active when we first submit, and idle after the final completion event
      (with which we confirm the HW says it is idle), and track each source
      of activity separately. With a finite number of sources, it should aide
      us in debugging which gets stuck.
      
      Fixes: beecec90 ("drm/i915/execlists: Preemption!")
      Signed-off-by: NChris Wilson <chris@chris-wilson.co.uk>
      Cc: Michal Winiarski <michal.winiarski@intel.com>
      Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
      Cc: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
      Cc: Mika Kuoppala <mika.kuoppala@intel.com>
      Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20171023213237.26536-3-chris@chris-wilson.co.ukReviewed-by: NMika Kuoppala <mika.kuoppala@linux.intel.com>
      (cherry picked from commit 4a118ecb)
      Signed-off-by: NJani Nikula <jani.nikula@intel.com>
      5d266692
  2. 18 10月, 2017 2 次提交
  3. 17 10月, 2017 1 次提交
  4. 16 10月, 2017 1 次提交
  5. 10 10月, 2017 1 次提交
  6. 06 10月, 2017 1 次提交
  7. 05 10月, 2017 3 次提交
  8. 04 10月, 2017 3 次提交
  9. 25 9月, 2017 3 次提交
  10. 22 9月, 2017 2 次提交
  11. 14 9月, 2017 1 次提交
  12. 13 9月, 2017 2 次提交
  13. 08 9月, 2017 6 次提交
  14. 07 9月, 2017 2 次提交
  15. 31 8月, 2017 2 次提交
  16. 24 8月, 2017 2 次提交
  17. 19 8月, 2017 3 次提交
  18. 27 7月, 2017 2 次提交
  19. 08 7月, 2017 1 次提交
  20. 03 7月, 2017 1 次提交
    • R
      drm/i915/cfl: Fix Workarounds. · 23477289
      Rodrigo Vivi 提交于
      During the review of Coffee Lake workarounds Mika pointed out
      that WaDisableKillLogic and GEN9_DISABLE_OCL_OOB_SUPPRESS_LOGIC
      should be removed from CFL and with that I should carry the rv-b.
      
      However when doing the v2 I removed another Workaround that should
      remain because although not mentioned by spec the history of hangs
      around it advocates on its favor.
      
      On some follow-up patches I continued operating on the wrong
      workardound, but Ville noticed that, so here is the fix for the
      current CFL code that is upstream already.
      
      Fixes: 46c26662 ("drm/i915/cfl: Introduce Coffee Lake workarounds.")
      Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
      Cc: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
      Cc: Mika Kuoppala <mika.kuoppala@intel.com>
      Signed-off-by: NRodrigo Vivi <rodrigo.vivi@intel.com>
      Reviewed-by: NDhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
      (cherry picked from commit 98eed3d1)
      Signed-off-by: NJani Nikula <jani.nikula@intel.com>
      23477289