| /drivers/gpu/drm/ |
| A D | drm_gpuvm.c | 1012 INIT_LIST_HEAD(&gpuvm->evict.list); in drm_gpuvm_init() 1013 spin_lock_init(&gpuvm->evict.lock); in drm_gpuvm_init() 1368 LIST_HEAD(evict); in __drm_gpuvm_validate() 1371 for_each_vm_bo_in_list(gpuvm, evict, &evict, vm_bo) { in __drm_gpuvm_validate() 1378 restore_vm_bo_list(gpuvm, evict); in __drm_gpuvm_validate() 1393 list.entry.evict) { in drm_gpuvm_validate_locked() 1493 INIT_LIST_HEAD(&vm_bo->list.entry.evict); in drm_gpuvm_bo_create() 1513 drm_gpuvm_bo_list_del(vm_bo, evict, lock); in drm_gpuvm_bo_destroy() 1701 vm_bo->evicted = evict; in drm_gpuvm_bo_evict() 1710 if (evict) in drm_gpuvm_bo_evict() [all …]
|
| A D | drm_gem_vram_helper.c | 503 bool evict, in drm_gem_vram_bo_driver_move() argument 766 bool evict, in bo_driver_move() argument 786 return drm_gem_vram_bo_driver_move(gbo, evict, ctx, new_mem); in bo_driver_move()
|
| A D | drm_gem.c | 1587 if (obj->funcs->evict) in drm_gem_evict_locked() 1588 return obj->funcs->evict(obj); in drm_gem_evict_locked()
|
| /drivers/gpu/drm/msm/ |
| A D | msm_gem_shrinker.c | 128 evict(struct drm_gem_object *obj, struct ww_acquire_ctx *ticket) in evict() function 161 return evict(obj, ticket); in active_evict() 178 { &priv->lru.willneed, evict, can_swap() }, in msm_gem_shrinker_scan()
|
| /drivers/gpu/drm/nouveau/ |
| A D | nouveau_bo.c | 548 bool force = false, evict = false; in nouveau_bo_pin_locked() local 558 evict = true; in nouveau_bo_pin_locked() 563 bool error = evict; in nouveau_bo_pin_locked() 586 if (evict) { in nouveau_bo_pin_locked() 936 nouveau_bo_move_m2mf(struct ttm_buffer_object *bo, int evict, in nouveau_bo_move_m2mf() argument 982 ret = ttm_bo_move_accel_cleanup(bo, &fence->base, evict, false, in nouveau_bo_move_m2mf() 1144 nouveau_bo_move(struct ttm_buffer_object *bo, bool evict, in nouveau_bo_move() argument 1162 drm_gpuvm_bo_gem_evict(obj, evict); in nouveau_bo_move() 1207 ret = nouveau_bo_move_m2mf(bo, evict, ctx, in nouveau_bo_move() 1227 drm_gpuvm_bo_gem_evict(obj, !evict); in nouveau_bo_move()
|
| /drivers/gpu/drm/i915/gem/ |
| A D | i915_gem_ttm_move.h | 33 int i915_ttm_move(struct ttm_buffer_object *bo, bool evict,
|
| A D | i915_gem_ttm_move.c | 570 int i915_ttm_move(struct ttm_buffer_object *bo, bool evict, in i915_ttm_move() argument 660 if (I915_SELFTEST_ONLY(evict && fail_gpu_migration)) in i915_ttm_move() 663 ret = ttm_bo_move_accel_cleanup(bo, migration_fence, evict, in i915_ttm_move()
|
| /drivers/gpu/drm/i915/selftests/ |
| A D | i915_mock_selftests.h | 32 selftest(evict, i915_gem_evict_mock_selftests)
|
| A D | i915_live_selftests.h | 39 selftest(evict, i915_gem_evict_live_selftests)
|
| /drivers/infiniband/hw/hfi1/ |
| A D | mmu_rb.h | 27 int (*evict)(void *ops_arg, struct mmu_rb_node *mnode, member
|
| A D | mmu_rb.c | 244 if (handler->ops->evict(handler->ops_arg, rbnode, evict_arg, in hfi1_mmu_rb_evict()
|
| A D | pin_system.c | 31 .evict = sdma_rb_evict,
|
| /drivers/gpu/drm/amd/amdgpu/ |
| A D | amdgpu_ttm.c | 379 bool evict, in amdgpu_move_blit() argument 423 r = ttm_bo_move_accel_cleanup(bo, fence, evict, true, new_mem); in amdgpu_move_blit() 490 static int amdgpu_bo_move(struct ttm_buffer_object *bo, bool evict, in amdgpu_bo_move() argument 512 amdgpu_bo_move_notify(bo, evict, new_mem); in amdgpu_bo_move() 519 amdgpu_bo_move_notify(bo, evict, new_mem); in amdgpu_bo_move() 531 amdgpu_bo_move_notify(bo, evict, new_mem); in amdgpu_bo_move() 546 amdgpu_bo_move_notify(bo, evict, new_mem); in amdgpu_bo_move() 572 amdgpu_bo_move_notify(bo, evict, new_mem); in amdgpu_bo_move() 574 r = amdgpu_move_blit(bo, evict, new_mem, old_mem); in amdgpu_bo_move() 592 if (evict) in amdgpu_bo_move()
|
| A D | amdgpu_object.h | 296 bool evict,
|
| A D | amdgpu_object.c | 1249 bool evict, in amdgpu_bo_move_notify() argument 1259 amdgpu_vm_bo_move(abo, new_mem, evict); in amdgpu_bo_move_notify()
|
| /drivers/gpu/drm/radeon/ |
| A D | radeon_ttm.c | 134 bool evict, in radeon_move_blit() argument 183 r = ttm_bo_move_accel_cleanup(bo, &fence->base, evict, false, new_mem); in radeon_move_blit() 188 static int radeon_bo_move(struct ttm_buffer_object *bo, bool evict, in radeon_bo_move() argument 238 r = radeon_move_blit(bo, evict, new_mem, old_mem); in radeon_bo_move()
|
| /drivers/gpu/drm/qxl/ |
| A D | qxl_ttm.c | 136 static int qxl_bo_move(struct ttm_buffer_object *bo, bool evict, in qxl_bo_move() argument
|
| /drivers/gpu/drm/ttm/tests/ |
| A D | ttm_kunit_helpers.c | 63 static int mock_move(struct ttm_buffer_object *bo, bool evict, in mock_move() argument
|
| /drivers/gpu/drm/ttm/ |
| A D | ttm_bo_util.c | 684 bool evict, in ttm_bo_move_accel_cleanup() argument 694 if (!evict) in ttm_bo_move_accel_cleanup()
|
| A D | ttm_bo.c | 119 struct ttm_resource *mem, bool evict, in ttm_bo_handle_move_mem() argument 155 ret = bdev->funcs->move(bo, evict, ctx, mem, hop); in ttm_bo_handle_move_mem()
|
| /drivers/gpu/drm/vmwgfx/ |
| A D | vmwgfx_ttm_buffer.c | 497 bool evict, in vmw_move() argument
|
| /drivers/gpu/drm/loongson/ |
| A D | lsdc_ttm.c | 159 bool evict, in lsdc_bo_move() argument
|
| /drivers/gpu/drm/i915/gt/ |
| A D | selftest_hangcheck.c | 1382 struct drm_mm_node evict = arg->vma->node; in evict_vma() local 1388 err = i915_gem_evict_for_node(vm, NULL, &evict, 0); in evict_vma()
|
| /drivers/gpu/drm/xe/ |
| A D | xe_bo.c | 786 static int xe_bo_move(struct ttm_buffer_object *ttm_bo, bool evict, in xe_bo_move() argument 946 ret = ttm_bo_move_accel_cleanup(ttm_bo, fence, evict, true, in xe_bo_move()
|
| A D | xe_vm.c | 434 } while (!list_empty(&vm->gpuvm.evict.list)); in xe_vm_validate_rebind()
|