Searched refs:evict (Results 1 - 25 of 31) sorted by relevance

12

/linux-master/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
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 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-master/drivers/infiniband/hw/hfi1/
H A Dmmu_rb.h22 /* 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 Dmmu_rb.c244 if (handler->ops->evict(handler->ops_arg, rbnode, evict_arg,
H A Dpin_system.c31 .evict = sdma_rb_evict,
/linux-master/drivers/gpu/drm/msm/
H A Dmsm_gem_shrinker.c61 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 Ddrm_gpuvm.c1011 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 Ddrm_gem_vram_helper.c563 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 Ddrm_gem.c1493 * 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 Ddrm_gpuvm.h313 * @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 Ddrm_gem.h189 * @evict:
196 int (*evict)(struct drm_gem_object *obj); member in struct:drm_gem_object_funcs
/linux-master/arch/powerpc/kvm/
H A Dbook3s_32_mmu_host.c142 bool evict = false; local
172 evict = true;
179 if (!evict && (pteg[rr] & PTE_V)) {
/linux-master/include/drm/ttm/
H A Dttm_device.h116 * 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 Dttm_bo.h417 struct dma_fence *fence, bool evict,
/linux-master/drivers/gpu/drm/nouveau/
H A Dnouveau_bo.c475 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 Dbtree_key_cache.c616 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 Dqxl_ttm.c136 static int qxl_bo_move(struct ttm_buffer_object *bo, bool evict, argument
/linux-master/drivers/gpu/drm/radeon/
H A Dradeon_ttm.c133 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 Dttm_bo_util.c640 * @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 Dttm_bo.c116 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 Damdgpu_object.h331 void amdgpu_bo_move_notify(struct ttm_buffer_object *bo, bool evict);
H A Damdgpu_object.c1245 * @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 Dvmwgfx_ttm_buffer.c497 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

Completed in 423 milliseconds

12