Home
last modified time | relevance | path

Searched refs:evict (Results 1 – 25 of 34) 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.c1749 * drm_gem_evict_locked - helper to evict backing pages for a GEM object
1759 if (obj->funcs->evict) in drm_gem_evict_locked()
1760 return obj->funcs->evict(obj); in drm_gem_evict_locked()
/linux/drivers/gpu/drm/msm/
H A Dmsm_gem_shrinker.c117 evict(struct drm_gem_object *obj, struct ww_acquire_ctx *unused) in evict() function
150 return evict(obj, ticket); in active_evict()
166 { &priv->lru.willneed, evict, can_swap() }, in msm_gem_shrinker_scan()
/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_ttm_move.h33 int i915_ttm_move(struct ttm_buffer_object *bo, bool evict,
/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.c387 bool evict, in amdgpu_move_blit() argument
438 r = ttm_bo_move_accel_cleanup(bo, fence, evict, true, new_mem); in amdgpu_move_blit()
506 static int amdgpu_bo_move(struct ttm_buffer_object *bo, bool evict, in amdgpu_bo_move() argument
528 amdgpu_bo_move_notify(bo, evict, new_mem); in amdgpu_bo_move()
535 amdgpu_bo_move_notify(bo, evict, new_mem); in amdgpu_bo_move()
547 amdgpu_bo_move_notify(bo, evict, new_mem); in amdgpu_bo_move()
564 amdgpu_bo_move_notify(bo, evict, new_mem); in amdgpu_bo_move()
590 amdgpu_bo_move_notify(bo, evict, new_mem); in amdgpu_bo_move()
592 r = amdgpu_move_blit(bo, evict, new_mem, old_mem); in amdgpu_bo_move()
610 if (evict) in amdgpu_bo_move()
H A Damdgpu_object.h298 bool evict,
/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.
/linux/rust/kernel/drm/gem/
H A Dshmem.rs97 evict: None,
H A Dmod.rs263 evict: None,
/linux/include/drm/
H A Ddrm_gem.h206 int (*evict)(struct drm_gem_object *obj); member
/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() argument
158 ret = bdev->funcs->move(bo, evict, ctx, mem, hop); in ttm_bo_handle_move_mem()
/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

12