Home
last modified time | relevance | path

Searched refs:evict (Results 1 – 25 of 51) sorted by relevance

123

/linux/drivers/gpu/drm/
A Ddrm_gpuvm.c1011 INIT_LIST_HEAD(&gpuvm->evict.list); in drm_gpuvm_init()
1012 spin_lock_init(&gpuvm->evict.lock); in drm_gpuvm_init()
1367 LIST_HEAD(evict); in __drm_gpuvm_validate()
1370 for_each_vm_bo_in_list(gpuvm, evict, &evict, vm_bo) { in __drm_gpuvm_validate()
1377 restore_vm_bo_list(gpuvm, evict); in __drm_gpuvm_validate()
1392 list.entry.evict) { in drm_gpuvm_validate_locked()
1492 INIT_LIST_HEAD(&vm_bo->list.entry.evict); in drm_gpuvm_bo_create()
1512 drm_gpuvm_bo_list_del(vm_bo, evict, lock); in drm_gpuvm_bo_destroy()
1700 vm_bo->evicted = evict; in drm_gpuvm_bo_evict()
1709 if (evict) in drm_gpuvm_bo_evict()
[all …]
A Ddrm_gem_vram_helper.c541 bool evict, in drm_gem_vram_bo_driver_move() argument
885 bool evict, in bo_driver_move() argument
905 return drm_gem_vram_bo_driver_move(gbo, evict, ctx, new_mem); in bo_driver_move()
/linux/drivers/gpu/drm/msm/
A Dmsm_gem_shrinker.c61 evict(struct drm_gem_object *obj) in evict() function
96 return evict(obj); in active_evict()
112 { &priv->lru.willneed, evict, can_swap() }, in msm_gem_shrinker_scan()
/linux/include/drm/
A Ddrm_gpuvm.h332 } evict; member
702 struct list_head evict; member
739 void drm_gpuvm_bo_evict(struct drm_gpuvm_bo *vm_bo, bool evict);
750 drm_gpuvm_bo_gem_evict(struct drm_gem_object *obj, bool evict) in drm_gpuvm_bo_gem_evict() argument
756 drm_gpuvm_bo_evict(vm_bo, evict); in drm_gpuvm_bo_gem_evict()
A Ddrm_gem.h196 int (*evict)(struct drm_gem_object *obj); member
/linux/drivers/gpu/drm/nouveau/
A Dnouveau_bo.c468 bool force = false, evict = false; in nouveau_bo_pin_locked() local
478 evict = true; in nouveau_bo_pin_locked()
483 bool error = evict; in nouveau_bo_pin_locked()
506 if (evict) { in nouveau_bo_pin_locked()
856 nouveau_bo_move_m2mf(struct ttm_buffer_object *bo, int evict, in nouveau_bo_move_m2mf() argument
902 ret = ttm_bo_move_accel_cleanup(bo, &fence->base, evict, false, in nouveau_bo_move_m2mf()
1061 nouveau_bo_move(struct ttm_buffer_object *bo, bool evict, in nouveau_bo_move() argument
1079 drm_gpuvm_bo_gem_evict(obj, evict); in nouveau_bo_move()
1124 ret = nouveau_bo_move_m2mf(bo, evict, ctx, in nouveau_bo_move()
1144 drm_gpuvm_bo_gem_evict(obj, !evict); in nouveau_bo_move()
/linux/drivers/gpu/drm/i915/gem/
A Di915_gem_ttm_move.h33 int i915_ttm_move(struct ttm_buffer_object *bo, bool evict,
A Di915_gem_ttm_move.c570 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()
/linux/arch/powerpc/kvm/
A Dbook3s_32_mmu_host.c142 bool evict = false; in kvmppc_mmu_map_page() local
172 evict = true; in kvmppc_mmu_map_page()
179 if (!evict && (pteg[rr] & PTE_V)) { in kvmppc_mmu_map_page()
/linux/drivers/gpu/drm/i915/selftests/
A Di915_mock_selftests.h32 selftest(evict, i915_gem_evict_mock_selftests)
A Di915_live_selftests.h39 selftest(evict, i915_gem_evict_live_selftests)
/linux/drivers/infiniband/hw/hfi1/
A Dmmu_rb.h27 int (*evict)(void *ops_arg, struct mmu_rb_node *mnode, member
A Dmmu_rb.c244 if (handler->ops->evict(handler->ops_arg, rbnode, evict_arg, in hfi1_mmu_rb_evict()
/linux/fs/bcachefs/
A Dbtree_key_cache.c378 bool evict) in btree_key_cache_flush_pos() argument
404 if (evict) in btree_key_cache_flush_pos()
405 goto evict; in btree_key_cache_flush_pos()
450 if (!evict) { in btree_key_cache_flush_pos()
458 evict: in btree_key_cache_flush_pos()
/linux/include/drm/ttm/
A Dttm_device.h149 int (*move)(struct ttm_buffer_object *bo, bool evict,
A Dttm_bo.h456 struct dma_fence *fence, bool evict,
/linux/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_ttm.c374 bool evict, in amdgpu_move_blit() argument
418 r = ttm_bo_move_accel_cleanup(bo, fence, evict, true, new_mem); in amdgpu_move_blit()
485 static int amdgpu_bo_move(struct ttm_buffer_object *bo, bool evict, in amdgpu_bo_move() argument
507 amdgpu_bo_move_notify(bo, evict, new_mem); in amdgpu_bo_move()
514 amdgpu_bo_move_notify(bo, evict, new_mem); in amdgpu_bo_move()
526 amdgpu_bo_move_notify(bo, evict, new_mem); in amdgpu_bo_move()
541 amdgpu_bo_move_notify(bo, evict, new_mem); in amdgpu_bo_move()
567 amdgpu_bo_move_notify(bo, evict, new_mem); in amdgpu_bo_move()
569 r = amdgpu_move_blit(bo, evict, new_mem, old_mem); in amdgpu_bo_move()
587 if (evict) in amdgpu_bo_move()
A Damdgpu_object.h318 bool evict,
/linux/drivers/gpu/drm/radeon/
A Dradeon_ttm.c134 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
239 r = radeon_move_blit(bo, evict, new_mem, old_mem); in radeon_bo_move()
/linux/Documentation/mm/
A Dmultigen_lru.rst106 evict or protect. The desired effect is to balance refault percentages
133 evict from, it first compares ``min_seq[]`` to select the older type.
215 decides which type to evict when both types are available from the
269 to select types to evict and tiers to protect.
/linux/drivers/gpu/drm/qxl/
A Dqxl_ttm.c136 static int qxl_bo_move(struct ttm_buffer_object *bo, bool evict, in qxl_bo_move() argument
/linux/Documentation/admin-guide/mm/
A Dmultigen_lru.rst146 Users can write the following command to ``lru_gen`` to evict
155 ``nr_to_reclaim`` limits the number of pages to evict.
/linux/drivers/gpu/drm/ttm/tests/
A Dttm_kunit_helpers.c60 static int mock_move(struct ttm_buffer_object *bo, bool evict, in mock_move() argument
/linux/drivers/gpu/drm/ttm/
A Dttm_bo_util.c653 bool evict, in ttm_bo_move_accel_cleanup() argument
663 if (!evict) in ttm_bo_move_accel_cleanup()
A Dttm_bo.c116 struct ttm_resource *mem, bool evict, in ttm_bo_handle_move_mem() argument
152 ret = bdev->funcs->move(bo, evict, ctx, mem, hop); in ttm_bo_handle_move_mem()

Completed in 44 milliseconds

123