Home
last modified time | relevance | path

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

12

/linux/drivers/gpu/drm/
H A Ddrm_gpuvm.c1107 INIT_LIST_HEAD(&gpuvm->evict.list); in drm_gpuvm_init()
1108 spin_lock_init(&gpuvm->evict.lock); in drm_gpuvm_init()
1151 drm_WARN(gpuvm->drm, !list_empty(&gpuvm->evict.list), in drm_gpuvm_fini()
1258 drm_gpuvm_bo_list_add(vm_bo, evict, false); in drm_gpuvm_prepare_objects_locked()
1470 LIST_HEAD(evict); in __drm_gpuvm_validate()
1473 for_each_vm_bo_in_list(gpuvm, evict, &evict, vm_bo) { in __drm_gpuvm_validate()
1480 restore_vm_bo_list(gpuvm, evict); in __drm_gpuvm_validate()
1494 list_for_each_entry_safe(vm_bo, next, &gpuvm->evict.list, in drm_gpuvm_validate_locked()
1495 list.entry.evict) { in drm_gpuvm_validate_locked()
1505 drm_gpuvm_bo_list_del_init(vm_bo, evict, false); in drm_gpuvm_validate_locked()
[all …]
H A Ddrm_gem_vram_helper.c501 bool evict, in drm_gem_vram_bo_driver_move_notify()
764 bool evict, in bo_driver_delete_mem_notify()
784 return drm_gem_vram_bo_driver_move(gbo, evict, ctx, new_mem); in bo_driver_move()
504 drm_gem_vram_bo_driver_move(struct drm_gem_vram_object * gbo,bool evict,struct ttm_operation_ctx * ctx,struct ttm_resource * new_mem) drm_gem_vram_bo_driver_move() argument
767 bo_driver_move(struct ttm_buffer_object * bo,bool evict,struct ttm_operation_ctx * ctx,struct ttm_resource * new_mem,struct ttm_place * hop) bo_driver_move() argument
H A Ddrm_gem.c1731 * drm_gem_evict_locked - helper to evict backing pages for a GEM object
1741 if (obj->funcs->evict)
1742 return obj->funcs->evict(obj);
/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_bo.c548 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()
[all...]
/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_ttm_move.h33 int i915_ttm_move(struct ttm_buffer_object *bo, bool evict,
H A Di915_gem_ttm_move.c170 * evict / migration blit and thus stall the migration timeline in i915_ttm_move_notify()
562 * @evict: Whether this is an eviction.
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()
/linux/drivers/gpu/drm/i915/selftests/
H A Di915_mock_selftests.h32 selftest(evict, i915_gem_evict_mock_selftests)
H A Di915_live_selftests.h39 selftest(evict, i915_gem_evict_live_selftests)
/linux/drivers/infiniband/hw/hfi1/
H A Dmmu_rb.h27 int (*evict)(void *ops_arg, struct mmu_rb_node *mnode, member
H A Dmmu_rb.c244 if (handler->ops->evict(handler->ops_arg, rbnode, evict_arg, in hfi1_mmu_rb_evict()
H A Dpin_system.c31 .evict = sdma_rb_evict,
/linux/drivers/gpu/drm/radeon/
H 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
238 r = radeon_move_blit(bo, evict, new_mem, old_mem); in radeon_bo_move()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ttm.c85 * @bo: The buffer object to evict
384 bool evict, in amdgpu_move_blit()
435 r = ttm_bo_move_accel_cleanup(bo, fence, evict, true, new_mem); in amdgpu_move_blit()
503 static int amdgpu_bo_move(struct ttm_buffer_object *bo, bool evict, in amdgpu_bo_move()
525 amdgpu_bo_move_notify(bo, evict, new_mem); in amdgpu_bo_move()
532 amdgpu_bo_move_notify(bo, evict, new_mem); in amdgpu_bo_move()
544 amdgpu_bo_move_notify(bo, evict, new_mem); in amdgpu_bo_move()
561 amdgpu_bo_move_notify(bo, evict, new_mem); in amdgpu_bo_move()
587 amdgpu_bo_move_notify(bo, evict, new_mem); in amdgpu_bo_move()
589 r = amdgpu_move_blit(bo, evict, new_me in amdgpu_bo_move()
383 amdgpu_move_blit(struct ttm_buffer_object * bo,bool evict,struct ttm_resource * new_mem,struct ttm_resource * old_mem) amdgpu_move_blit() argument
498 amdgpu_bo_move(struct ttm_buffer_object * bo,bool evict,struct ttm_operation_ctx * ctx,struct ttm_resource * new_mem,struct ttm_place * hop) amdgpu_bo_move() argument
[all...]
/linux/Documentation/mm/
H 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/
H A Dqxl_ttm.c137 static int qxl_bo_move(struct ttm_buffer_object *bo, bool evict, in qxl_bo_move() argument
/linux/Documentation/admin-guide/mm/
H A Dmultigen_lru.rst146 Users can write the following command to ``lru_gen`` to evict
156 of anonymous memory. ``nr_to_reclaim`` limits the number of pages to evict.
H A Dzswap.rst53 evict pages from its own compressed pool on an LRU basis and write them back to
/linux/Documentation/gpu/
H A Ddrm-compute.rst32 not to evict when creating a new job (any kind). If all of userspace opts in
H A Ddrm-vm-bind-locking.rst219 The gpu_vm_bos marked for eviction are put on the gpu_vm's evict list,
222 the gpu_vm's dma_resv protecting the gpu_vm's evict list is locked.
253 object is bound to need to be put on their gpu_vm's evict list.
327 gpu_vm's evict list and external objects lists. However, there are
/linux/drivers/gpu/drm/ttm/tests/
H A Dttm_kunit_helpers.c63 static int mock_move(struct ttm_buffer_object *bo, bool evict, in mock_move() argument
/linux/drivers/gpu/drm/ttm/
H A Dttm_bo_util.c702 bool evict, in ttm_bo_move_accel_cleanup() argument
712 if (!evict) in ttm_bo_move_accel_cleanup()
H A Dttm_bo.c122 struct ttm_resource *mem, bool evict, in ttm_bo_handle_move_mem()
158 ret = bdev->funcs->move(bo, evict, ctx, mem, hop); in ttm_bo_handle_move_mem()
415 * @bo: The buffer object to evict
418 * Check if it is valuable to evict the BO to make room for the given placement.
430 /* Don't evict this BO if it's outside of the in ttm_bo_eviction_valuable()
440 * @man: The manager whose bo to evict.
492 * struct ttm_bo_evict_walk - Parameters for the evict walk.
508 /** @try_low: Whether we should attempt to evict BO's with low watermark threshold */
510 /** @hit_low: If we cannot evict a bo when @try_low is false (first pass) */
697 * @force_space: If we should evict buffer
121 ttm_bo_handle_move_mem(struct ttm_buffer_object * bo,struct ttm_resource * mem,bool evict,struct ttm_operation_ctx * ctx,struct ttm_place * hop) ttm_bo_handle_move_mem() argument
[all...]
/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_ttm_buffer.c497 bool evict, in vmw_move() argument
/linux/drivers/gpu/drm/loongson/
H A Dlsdc_ttm.c160 bool evict, in lsdc_bo_move() argument
/linux/fs/
H A Dinode.c818 static void evict(struct inode *inode)
883 evict(inode); in dispose_list()
889 * evict_inodes - evict all evictable inodes for a superblock in dispose_list()
924 * We can have a ton of inodes to evict at unmount time given in evict_inodes()
1912 * us to evict inode, do so. Otherwise, retain inode
1913 * in cache if fs is alive, sync and evict if fs is
1960 evict(inode); in iput_final()
2539 * Handle racing against evict(), see that routine for more details. in __wait_on_freeing_inode()
823 static void evict(struct inode *inode) evict() function

12