| /linux/drivers/gpu/drm/ |
| H A D | drm_gpuvm.c | 1107 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 D | drm_gem.c | 1749 * 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 D | msm_gem_shrinker.c | 117 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 D | i915_gem_ttm_move.h | 33 int i915_ttm_move(struct ttm_buffer_object *bo, bool evict,
|
| /linux/drivers/gpu/drm/i915/selftests/ |
| H A D | i915_mock_selftests.h | 32 selftest(evict, i915_gem_evict_mock_selftests)
|
| H A D | i915_live_selftests.h | 39 selftest(evict, i915_gem_evict_live_selftests)
|
| /linux/drivers/infiniband/hw/hfi1/ |
| H A D | mmu_rb.h | 27 int (*evict)(void *ops_arg, struct mmu_rb_node *mnode, member
|
| H A D | mmu_rb.c | 244 if (handler->ops->evict(handler->ops_arg, rbnode, evict_arg, in hfi1_mmu_rb_evict()
|
| H A D | pin_system.c | 31 .evict = sdma_rb_evict,
|
| /linux/drivers/gpu/drm/radeon/ |
| H 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()
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_ttm.c | 387 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 D | amdgpu_object.h | 298 bool evict,
|
| /linux/Documentation/mm/ |
| H A D | multigen_lru.rst | 106 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 D | qxl_ttm.c | 137 static int qxl_bo_move(struct ttm_buffer_object *bo, bool evict, in qxl_bo_move() argument
|
| /linux/Documentation/admin-guide/mm/ |
| H A D | multigen_lru.rst | 146 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 D | shmem.rs | 97 evict: None,
|
| H A D | mod.rs | 263 evict: None,
|
| /linux/include/drm/ |
| H A D | drm_gem.h | 206 int (*evict)(struct drm_gem_object *obj); member
|
| /linux/Documentation/gpu/ |
| H A D | drm-compute.rst | 32 not to evict when creating a new job (any kind). If all of userspace opts in
|
| H A D | drm-vm-bind-locking.rst | 219 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 D | ttm_kunit_helpers.c | 63 static int mock_move(struct ttm_buffer_object *bo, bool evict, in mock_move() argument
|
| /linux/drivers/gpu/drm/ttm/ |
| H A D | ttm_bo_util.c | 702 bool evict, in ttm_bo_move_accel_cleanup() argument 712 if (!evict) in ttm_bo_move_accel_cleanup()
|
| H A D | ttm_bo.c | 122 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 D | vmwgfx_ttm_buffer.c | 497 bool evict, in vmw_move() argument
|
| /linux/drivers/gpu/drm/loongson/ |
| H A D | lsdc_ttm.c | 160 bool evict, in lsdc_bo_move() argument
|