1. 06 6月, 2021 1 次提交
  2. 04 6月, 2021 1 次提交
  3. 25 5月, 2021 2 次提交
  4. 10 5月, 2021 1 次提交
  5. 14 4月, 2021 1 次提交
  6. 25 3月, 2021 4 次提交
  7. 24 3月, 2021 1 次提交
    • M
      drm/i915: Do not share hwsp across contexts any more, v8. · 12ca695d
      Maarten Lankhorst 提交于
      Instead of sharing pages with breadcrumbs, give each timeline a
      single page. This allows unrelated timelines not to share locks
      any more during command submission.
      
      As an additional benefit, seqno wraparound no longer requires
      i915_vma_pin, which means we no longer need to worry about a
      potential -EDEADLK at a point where we are ready to submit.
      
      Changes since v1:
      - Fix erroneous i915_vma_acquire that should be a i915_vma_release (ickle).
      - Extra check for completion in intel_read_hwsp().
      Changes since v2:
      - Fix inconsistent indent in hwsp_alloc() (kbuild)
      - memset entire cacheline to 0.
      Changes since v3:
      - Do same in intel_timeline_reset_seqno(), and clflush for good measure.
      Changes since v4:
      - Use refcounting on timeline, instead of relying on i915_active.
      - Fix waiting on kernel requests.
      Changes since v5:
      - Bump amount of slots to maximum (256), for best wraparounds.
      - Add hwsp_offset to i915_request to fix potential wraparound hang.
      - Ensure timeline wrap test works with the changes.
      - Assign hwsp in intel_timeline_read_hwsp() within the rcu lock to
        fix a hang.
      Changes since v6:
      - Rename i915_request_active_offset to i915_request_active_seqno(),
        and elaborate the function. (tvrtko)
      Changes since v7:
      - Move hunk to where it belongs. (jekstrand)
      - Replace CACHELINE_BYTES with TIMELINE_SEQNO_BYTES. (jekstrand)
      Signed-off-by: NMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
      Reviewed-by: Thomas Hellström <thomas.hellstrom@intel.com> #v1
      Reported-by: Nkernel test robot <lkp@intel.com>
      Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
      Link: https://patchwork.freedesktop.org/patch/msgid/20210323155059.628690-2-maarten.lankhorst@linux.intel.com
      12ca695d
  8. 12 3月, 2021 1 次提交
  9. 02 2月, 2021 1 次提交
  10. 16 1月, 2021 2 次提交
  11. 15 1月, 2021 1 次提交
  12. 14 1月, 2021 1 次提交
  13. 13 1月, 2021 3 次提交
  14. 24 12月, 2020 1 次提交
  15. 22 12月, 2020 1 次提交
  16. 21 12月, 2020 1 次提交
  17. 10 12月, 2020 2 次提交
  18. 20 11月, 2020 3 次提交
  19. 13 11月, 2020 1 次提交
  20. 06 11月, 2020 1 次提交
  21. 29 10月, 2020 1 次提交
  22. 18 9月, 2020 1 次提交
  23. 07 9月, 2020 3 次提交
  24. 24 8月, 2020 1 次提交
  25. 09 7月, 2020 4 次提交