/linux-master/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,
|
H A D | i915_gem_ttm_move.c | 170 * evict / migration blit and thus stall the migration timeline 562 * @evict: Whether this is an eviction. 570 int i915_ttm_move(struct ttm_buffer_object *bo, bool evict, argument 660 if (I915_SELFTEST_ONLY(evict && fail_gpu_migration)) 663 ret = ttm_bo_move_accel_cleanup(bo, migration_fence, evict,
|
/linux-master/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-master/drivers/infiniband/hw/hfi1/ |
H A D | mmu_rb.h | 22 /* filter and evict must not sleep. Only remove is allowed to sleep. */ 27 int (*evict)(void *ops_arg, struct mmu_rb_node *mnode, member in struct:mmu_rb_ops
|
H A D | mmu_rb.c | 244 if (handler->ops->evict(handler->ops_arg, rbnode, evict_arg,
|
H A D | pin_system.c | 31 .evict = sdma_rb_evict,
|
/linux-master/drivers/gpu/drm/msm/ |
H A D | msm_gem_shrinker.c | 61 evict(struct drm_gem_object *obj) function 96 return evict(obj); 112 { &priv->lru.willneed, evict, can_swap() },
|
/linux-master/drivers/gpu/drm/ |
H A D | drm_gpuvm.c | 1011 INIT_LIST_HEAD(&gpuvm->evict.list); 1012 spin_lock_init(&gpuvm->evict.lock); 1053 drm_WARN(gpuvm->drm, !list_empty(&gpuvm->evict.list), 1155 drm_gpuvm_bo_list_add(vm_bo, evict, false); 1367 LIST_HEAD(evict); 1370 for_each_vm_bo_in_list(gpuvm, evict, &evict, vm_bo) { 1377 restore_vm_bo_list(gpuvm, evict); 1391 list_for_each_entry_safe(vm_bo, next, &gpuvm->evict.list, 1392 list.entry.evict) { 1693 drm_gpuvm_bo_evict(struct drm_gpuvm_bo *vm_bo, bool evict) argument [all...] |
H A D | drm_gem_vram_helper.c | 563 bool evict, 906 bool evict, 926 return drm_gem_vram_bo_driver_move(gbo, evict, ctx, new_mem); 562 drm_gem_vram_bo_driver_move(struct drm_gem_vram_object *gbo, bool evict, struct ttm_operation_ctx *ctx, struct ttm_resource *new_mem) argument 905 bo_driver_move(struct ttm_buffer_object *bo, bool evict, struct ttm_operation_ctx *ctx, struct ttm_resource *new_mem, struct ttm_place *hop) argument
|
H A D | drm_gem.c | 1493 * drm_gem_evict - helper to evict backing pages for a GEM object 1503 if (obj->funcs->evict) 1504 return obj->funcs->evict(obj);
|
/linux-master/include/drm/ |
H A D | drm_gpuvm.h | 313 * @evict: structure holding the evict list and evict list lock 317 * @evict.list: &list_head storing &drm_gpuvm_bos currently 323 * @evict.local_list: pointer to the local list temporarily 329 * @evict.lock: spinlock to protect the evict list 332 } evict; member in struct:drm_gpuvm 693 * @list.entry.evict: List entry to attach to the 699 * @list.entry.evict 702 struct list_head evict; member in struct:drm_gpuvm_bo::__anon1084::__anon1085 750 drm_gpuvm_bo_gem_evict(struct drm_gem_object *obj, bool evict) argument [all...] |
H A D | drm_gem.h | 189 * @evict: 196 int (*evict)(struct drm_gem_object *obj); member in struct:drm_gem_object_funcs
|
/linux-master/arch/powerpc/kvm/ |
H A D | book3s_32_mmu_host.c | 142 bool evict = false; local 172 evict = true; 179 if (!evict && (pteg[rr] & PTE_V)) {
|
/linux-master/include/drm/ttm/ |
H A D | ttm_device.h | 116 * Check with the driver if it is valuable to evict a BO to make room 140 * @evict: whether this motion is evicting the buffer from 149 int (*move)(struct ttm_buffer_object *bo, bool evict,
|
H A D | ttm_bo.h | 417 struct dma_fence *fence, bool evict,
|
/linux-master/drivers/gpu/drm/nouveau/ |
H A D | nouveau_bo.c | 475 bool force = false, evict = false; local 487 evict = true; 492 bool error = evict; 515 if (evict) { 845 nouveau_bo_move_m2mf(struct ttm_buffer_object *bo, int evict, argument 891 ret = ttm_bo_move_accel_cleanup(bo, &fence->base, evict, false, 1050 nouveau_bo_move(struct ttm_buffer_object *bo, bool evict, argument 1068 drm_gpuvm_bo_gem_evict(obj, evict); 1113 ret = nouveau_bo_move_m2mf(bo, evict, ctx, 1133 drm_gpuvm_bo_gem_evict(obj, !evict); [all...] |
/linux-master/fs/bcachefs/ |
H A D | btree_key_cache.c | 616 bool evict) 642 if (evict) 643 goto evict; 690 if (!evict) { 698 evict: 612 btree_key_cache_flush_pos(struct btree_trans *trans, struct bkey_cached_key key, u64 journal_seq, unsigned commit_flags, bool evict) argument
|
/linux-master/drivers/gpu/drm/qxl/ |
H A D | qxl_ttm.c | 136 static int qxl_bo_move(struct ttm_buffer_object *bo, bool evict, argument
|
/linux-master/drivers/gpu/drm/radeon/ |
H A D | radeon_ttm.c | 133 bool evict, 182 r = ttm_bo_move_accel_cleanup(bo, &fence->base, evict, false, new_mem); 187 static int radeon_bo_move(struct ttm_buffer_object *bo, bool evict, argument 238 r = radeon_move_blit(bo, evict, new_mem, old_mem); 132 radeon_move_blit(struct ttm_buffer_object *bo, bool evict, struct ttm_resource *new_mem, struct ttm_resource *old_mem) argument
|
/linux-master/drivers/gpu/drm/ttm/ |
H A D | ttm_bo_util.c | 640 * @evict: This is an evict move. Don't return until the buffer is idle. 653 bool evict, 663 if (!evict) 651 ttm_bo_move_accel_cleanup(struct ttm_buffer_object *bo, struct dma_fence *fence, bool evict, bool pipeline, struct ttm_resource *new_mem) argument
|
H A D | ttm_bo.c | 116 struct ttm_resource *mem, bool evict, 152 ret = bdev->funcs->move(bo, evict, ctx, mem, hop); 487 * @bo: The buffer object to evict 490 * Check if it is valuable to evict the BO to make room for the given placement. 502 /* Don't evict this BO if it's outside of the 728 * Repeatedly evict memory from the LRU for @mem_type until we create enough 115 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) argument
|
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_object.h | 331 void amdgpu_bo_move_notify(struct ttm_buffer_object *bo, bool evict);
|
H A D | amdgpu_object.c | 1245 * @evict: if this move is evicting the buffer from the graphics address space 1251 void amdgpu_bo_move_notify(struct ttm_buffer_object *bo, bool evict) argument 1260 amdgpu_vm_bo_invalidate(adev, abo, evict); 1269 if (evict)
|
/linux-master/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_ttm_buffer.c | 497 bool evict, 496 vmw_move(struct ttm_buffer_object *bo, bool evict, struct ttm_operation_ctx *ctx, struct ttm_resource *new_mem, struct ttm_place *hop) argument
|