1. 31 3月, 2020 1 次提交
  2. 27 3月, 2020 1 次提交
  3. 26 3月, 2020 1 次提交
  4. 25 3月, 2020 1 次提交
  5. 23 3月, 2020 3 次提交
  6. 20 3月, 2020 1 次提交
  7. 17 3月, 2020 2 次提交
  8. 13 3月, 2020 4 次提交
  9. 12 3月, 2020 2 次提交
  10. 11 3月, 2020 1 次提交
    • C
      drm/i915/gem: Mark up the racy read of the mmap_singleton · 4aea5a9e
      Chris Wilson 提交于
      [11057.642683] BUG: KCSAN: data-race in i915_gem_mmap [i915] / singleton_release [i915]
      [11057.642717]
      [11057.642740] write (marked) to 0xffff8881f24471a0 of 8 bytes by task 44668 on cpu 2:
      [11057.643162]  singleton_release+0x38/0x60 [i915]
      [11057.643192]  __fput+0x160/0x3c0
      [11057.643217]  ____fput+0x16/0x20
      [11057.643241]  task_work_run+0xba/0x100
      [11057.643263]  exit_to_usermode_loop+0xe4/0xf0
      [11057.643286]  do_syscall_64+0x27e/0x2c0
      [11057.643314]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
      [11057.643339]
      [11057.643359] read to 0xffff8881f24471a0 of 8 bytes by task 44667 on cpu 3:
      [11057.643774]  i915_gem_mmap+0x295/0x670 [i915]
      [11057.643802]  mmap_region+0x62b/0xac0
      [11057.643825]  do_mmap+0x414/0x6b0
      [11057.643848]  vm_mmap_pgoff+0xa9/0xf0
      [11057.643875]  ksys_mmap_pgoff+0x1ac/0x2f0
      [11057.643900]  do_syscall_64+0x6e/0x2c0
      [11057.643924]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
      Signed-off-by: NChris Wilson <chris@chris-wilson.co.uk>
      Reviewed-by: NMika Kuoppala <mika.kuoppala@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20200311092624.10012-3-chris@chris-wilson.co.uk
      4aea5a9e
  11. 06 3月, 2020 3 次提交
  12. 04 3月, 2020 6 次提交
  13. 03 3月, 2020 1 次提交
  14. 29 2月, 2020 1 次提交
  15. 27 2月, 2020 1 次提交
  16. 26 2月, 2020 2 次提交
  17. 25 2月, 2020 1 次提交
  18. 22 2月, 2020 2 次提交
    • C
      drm/i915: Avoid recursing onto active vma from the shrinker · 6f24e410
      Chris Wilson 提交于
      We mark the vma as active while binding it in order to protect outselves
      from being shrunk under mempressure. This only works if we are strict in
      not attempting to shrink active objects.
      
      <6> [472.618968] Workqueue: events_unbound fence_work [i915]
      <4> [472.618970] Call Trace:
      <4> [472.618974]  ? __schedule+0x2e5/0x810
      <4> [472.618978]  schedule+0x37/0xe0
      <4> [472.618982]  schedule_preempt_disabled+0xf/0x20
      <4> [472.618984]  __mutex_lock+0x281/0x9c0
      <4> [472.618987]  ? mark_held_locks+0x49/0x70
      <4> [472.618989]  ? _raw_spin_unlock_irqrestore+0x47/0x60
      <4> [472.619038]  ? i915_vma_unbind+0xae/0x110 [i915]
      <4> [472.619084]  ? i915_vma_unbind+0xae/0x110 [i915]
      <4> [472.619122]  i915_vma_unbind+0xae/0x110 [i915]
      <4> [472.619165]  i915_gem_object_unbind+0x1dc/0x400 [i915]
      <4> [472.619208]  i915_gem_shrink+0x328/0x660 [i915]
      <4> [472.619250]  ? i915_gem_shrink_all+0x38/0x60 [i915]
      <4> [472.619282]  i915_gem_shrink_all+0x38/0x60 [i915]
      <4> [472.619325]  vm_alloc_page.constprop.25+0x1aa/0x240 [i915]
      <4> [472.619330]  ? rcu_read_lock_sched_held+0x4d/0x80
      <4> [472.619363]  ? __alloc_pd+0xb/0x30 [i915]
      <4> [472.619366]  ? module_assert_mutex_or_preempt+0xf/0x30
      <4> [472.619368]  ? __module_address+0x23/0xe0
      <4> [472.619371]  ? is_module_address+0x26/0x40
      <4> [472.619374]  ? static_obj+0x34/0x50
      <4> [472.619376]  ? lockdep_init_map+0x4d/0x1e0
      <4> [472.619407]  setup_page_dma+0xd/0x90 [i915]
      <4> [472.619437]  alloc_pd+0x29/0x50 [i915]
      <4> [472.619470]  __gen8_ppgtt_alloc+0x443/0x6b0 [i915]
      <4> [472.619503]  gen8_ppgtt_alloc+0xd7/0x300 [i915]
      <4> [472.619535]  ppgtt_bind_vma+0x2a/0xe0 [i915]
      <4> [472.619577]  __vma_bind+0x26/0x40 [i915]
      <4> [472.619611]  fence_work+0x1c/0x90 [i915]
      <4> [472.619617]  process_one_work+0x26a/0x620
      
      Fixes: 2850748e ("drm/i915: Pull i915_vma_pin under the vm->mutex")
      Signed-off-by: NChris Wilson <chris@chris-wilson.co.uk>
      Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
      Reviewed-by: NTvrtko Ursulin <tvrtko.ursulin@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20200221221818.2861432-1-chris@chris-wilson.co.uk
      6f24e410
    • C
      drm/i915/gem: Break up long lists of object reclaim · deeee411
      Chris Wilson 提交于
      Call cond_resched() between each freed object in case we have a really,
      really long list, and we don't want to block normal processes.
      Signed-off-by: NChris Wilson <chris@chris-wilson.co.uk>
      Reviewed-by: NMatthew Auld <matthew.auld@intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20200221100953.2587176-1-chris@chris-wilson.co.uk
      deeee411
  19. 21 2月, 2020 1 次提交
  20. 19 2月, 2020 1 次提交
  21. 12 2月, 2020 3 次提交
  22. 11 2月, 2020 1 次提交