Home
last modified time | relevance | path

Searched refs:ttm_operation_ctx (Results 1 – 25 of 52) sorted by relevance

123

/linux/include/drm/ttm/
H A Dttm_bo.h182 struct ttm_operation_ctx { struct
214 struct ttm_operation_ctx *ctx;
248 long ttm_bo_shrink(struct ttm_operation_ctx *ctx, struct ttm_buffer_object *bo,
251 bool ttm_bo_shrink_suitable(struct ttm_buffer_object *bo, struct ttm_operation_ctx *ctx);
390 struct ttm_operation_ctx *ctx);
393 struct ttm_operation_ctx *ctx);
401 uint32_t alignment, struct ttm_operation_ctx *ctx,
416 s64 ttm_bo_swapout(struct ttm_device *bdev, struct ttm_operation_ctx *ctx,
423 struct ttm_operation_ctx *ctx);
441 struct ttm_operation_ctx *ctx);
[all …]
H A Dttm_device.h37 struct ttm_operation_ctx;
88 struct ttm_operation_ctx *ctx);
151 struct ttm_operation_ctx *ctx,
278 int ttm_global_swapout(struct ttm_operation_ctx *ctx, gfp_t gfp_flags);
279 int ttm_device_swapout(struct ttm_device *bdev, struct ttm_operation_ctx *ctx,
H A Dttm_pool.h37 struct ttm_operation_ctx;
82 struct ttm_operation_ctx *ctx);
96 const struct ttm_operation_ctx *ctx);
H A Dttm_tt.h40 struct ttm_operation_ctx;
253 struct ttm_operation_ctx *ctx);
299 const struct ttm_operation_ctx *ctx);
/linux/drivers/gpu/drm/i915/
H A Di915_deps.h11 struct ttm_operation_ctx;
38 const struct ttm_operation_ctx *ctx);
41 const struct ttm_operation_ctx *ctx);
44 const struct ttm_operation_ctx *ctx);
H A Di915_deps.c76 const struct ttm_operation_ctx *ctx) in i915_deps_grow()
132 int i915_deps_sync(const struct i915_deps *deps, const struct ttm_operation_ctx *ctx) in i915_deps_sync()
178 const struct ttm_operation_ctx *ctx) in i915_deps_add_dependency()
223 const struct ttm_operation_ctx *ctx) in i915_deps_add_resv()
/linux/drivers/gpu/drm/ttm/
H A Dttm_bo.c122 struct ttm_operation_ctx *ctx, in ttm_bo_handle_move_mem()
336 struct ttm_operation_ctx *ctx, in ttm_bo_bounce_temp_buffer()
360 struct ttm_operation_ctx *ctx) in ttm_bo_evict()
447 struct ttm_operation_ctx *ctx) in ttm_bo_evict_first()
561 struct ttm_operation_ctx *ctx, in ttm_bo_evict_alloc()
713 struct ttm_operation_ctx *ctx, in ttm_bo_alloc_resource()
789 struct ttm_operation_ctx *ctx) in ttm_bo_mem_space()
821 struct ttm_operation_ctx *ctx) in ttm_bo_validate()
932 uint32_t alignment, struct ttm_operation_ctx *ctx, in ttm_bo_init_reserved()
1029 struct ttm_operation_ctx ctx = { .interruptible = interruptible }; in ttm_bo_init_validate()
[all …]
H A Dttm_bo_util.c147 struct ttm_operation_ctx *ctx, in ttm_bo_move_memcpy()
346 struct ttm_operation_ctx ctx = { }; in ttm_bo_kmap_ttm()
531 struct ttm_operation_ctx ctx = { }; in ttm_bo_vmap()
824 struct ttm_operation_ctx *ctx = curs->arg->ctx; in ttm_lru_walk_trylock()
1081 long ttm_bo_shrink(struct ttm_operation_ctx *ctx, struct ttm_buffer_object *bo, in ttm_bo_shrink()
1149 bool ttm_bo_shrink_suitable(struct ttm_buffer_object *bo, struct ttm_operation_ctx *ctx) in ttm_bo_shrink_suitable()
H A Dttm_tt.c299 const struct ttm_operation_ctx *ctx) in ttm_tt_restore()
371 struct ttm_tt *ttm, struct ttm_operation_ctx *ctx) in ttm_tt_populate()
458 struct ttm_operation_ctx ctx = { }; in ttm_tt_debugfs_shrink_show()
/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_ttm_move.h13 struct ttm_operation_ctx;
34 struct ttm_operation_ctx *ctx,
H A Di915_gem_ttm_pm.c53 struct ttm_operation_ctx ctx = {}; in i915_ttm_backup()
176 struct ttm_operation_ctx ctx = {}; in i915_ttm_restore()
H A Di915_gem_ttm.c185 struct ttm_operation_ctx *ctx) in i915_ttm_tt_shmem_populate()
320 struct ttm_operation_ctx *ctx) in i915_ttm_tt_populate()
424 struct ttm_operation_ctx ctx = { in i915_ttm_purge()
464 struct ttm_operation_ctx ctx = { in i915_ttm_shrink()
780 struct ttm_operation_ctx ctx = { in __i915_ttm_get_pages()
1069 struct ttm_operation_ctx ctx = { in vm_fault_ttm()
1293 struct ttm_operation_ctx ctx = { in __i915_gem_ttm_object_init()
H A Di915_gem_ttm_move.c469 const struct ttm_operation_ctx *ctx, bool clear, in __i915_ttm_move()
571 struct ttm_operation_ctx *ctx, in i915_ttm_move()
710 struct ttm_operation_ctx ctx = { in i915_gem_obj_copy_ttm()
/linux/drivers/gpu/drm/xe/
H A Dxe_shrinker.c58 struct ttm_operation_ctx *ctx, in __xe_shrinker_walk()
103 struct ttm_operation_ctx *ctx, in xe_shrinker_walk()
204 struct ttm_operation_ctx ctx = { in xe_shrinker_scan()
H A Dxe_bo.c554 struct ttm_operation_ctx *ctx) in xe_ttm_tt_populate()
667 const struct ttm_operation_ctx *ctx) in xe_bo_trigger_rebind()
798 const struct ttm_operation_ctx *ctx) in xe_bo_move_notify()
839 struct ttm_operation_ctx *ctx, in xe_bo_move()
1052 static long xe_bo_shrink_purge(struct ttm_operation_ctx *ctx, in xe_bo_shrink_purge()
1127 long xe_bo_shrink(struct ttm_operation_ctx *ctx, struct ttm_buffer_object *bo, in xe_bo_shrink()
1397 struct ttm_operation_ctx ctx = { in xe_bo_restore_pinned()
1606 static void xe_ttm_bo_purge(struct ttm_buffer_object *ttm_bo, struct ttm_operation_ctx *ctx) in xe_ttm_bo_purge()
1620 struct ttm_operation_ctx ctx = { in xe_ttm_bo_swap_notify()
1784 static int xe_bo_wait_usage_kernel(struct xe_bo *bo, struct ttm_operation_ctx *ctx) in xe_bo_wait_usage_kernel()
[all …]
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_dma_buf.c194 struct ttm_operation_ctx ctx = { false, false }; in amdgpu_dma_buf_map()
301 struct ttm_operation_ctx ctx = { true, false }; in amdgpu_dma_buf_begin_cpu_access()
383 struct ttm_operation_ctx ctx = { in amdgpu_gem_prime_export()
473 struct ttm_operation_ctx ctx = { false, false }; in amdgpu_dma_buf_move_notify()
/linux/drivers/gpu/drm/ttm/tests/
H A Dttm_tt_test.c262 struct ttm_operation_ctx ctx = { }; in ttm_tt_populate_null_ttm()
272 struct ttm_operation_ctx ctx = { }; in ttm_tt_populate_populated_ttm()
297 struct ttm_operation_ctx ctx = { }; in ttm_tt_unpopulate_basic()
341 struct ttm_operation_ctx ctx = { }; in ttm_tt_swapin_basic()
/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_bo.c92 struct ttm_operation_ctx ctx = {interruptible, false }; in vmw_bo_pin_in_placement()
128 struct ttm_operation_ctx ctx = {interruptible, false }; in vmw_bo_pin_in_vram_or_gmr()
197 struct ttm_operation_ctx ctx = {interruptible, false }; in vmw_bo_pin_in_start_of_vram()
299 struct ttm_operation_ctx ctx = { false, true }; in vmw_bo_pin_reserved()
411 struct ttm_operation_ctx ctx = { in vmw_bo_init()
H A Dvmwgfx_ttm_buffer.c363 struct ttm_tt *ttm, struct ttm_operation_ctx *ctx) in vmw_ttm_populate()
498 struct ttm_operation_ctx *ctx, in vmw_move()
564 struct ttm_operation_ctx ctx = { in vmw_bo_create_and_populate()
H A Dttm_object.h314 struct ttm_operation_ctx ctx = { intr, no_wait }; in ttm_bo_wait()
/linux/drivers/gpu/drm/radeon/
H A Dradeon_mn.c54 struct ttm_operation_ctx ctx = { false, false }; in radeon_mn_invalidate()
/linux/drivers/gpu/drm/loongson/
H A Dlsdc_ttm.c114 struct ttm_operation_ctx *ctx) in lsdc_ttm_tt_populate()
161 struct ttm_operation_ctx *ctx, in lsdc_bo_move()
289 struct ttm_operation_ctx ctx = { false, false }; in lsdc_bo_pin()
/linux/drivers/gpu/drm/
H A Ddrm_gem_vram_helper.c278 struct ttm_operation_ctx ctx = { false, false }; in drm_gem_vram_pin_locked()
505 struct ttm_operation_ctx *ctx, in drm_gem_vram_bo_driver_move()
768 struct ttm_operation_ctx *ctx, in bo_driver_move()
/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_prime.c111 struct ttm_operation_ctx ctx = { in nouveau_gem_prime_export()
/linux/drivers/gpu/drm/qxl/
H A Dqxl_object.c109 struct ttm_operation_ctx ctx = { !kernel, false }; in qxl_bo_create()
296 struct ttm_operation_ctx ctx = { false, false }; in qxl_bo_pin_locked()

123