Home
last modified time | relevance | path

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

123

/linux-6.15/include/drm/ttm/
H A Dttm_bo.h183 struct ttm_operation_ctx { struct
218 struct ttm_operation_ctx *ctx;
412 struct ttm_operation_ctx *ctx);
415 struct ttm_operation_ctx *ctx);
444 struct ttm_operation_ctx *ctx);
462 struct ttm_operation_ctx *ctx);
476 struct ttm_operation_ctx *ctx,
489 struct ttm_operation_ctx *ctx);
503 struct ttm_operation_ctx *ctx;
521 struct ttm_operation_ctx *ctx);
[all …]
H A Dttm_device.h36 struct ttm_operation_ctx;
87 struct ttm_operation_ctx *ctx);
150 struct ttm_operation_ctx *ctx,
272 int ttm_global_swapout(struct ttm_operation_ctx *ctx, gfp_t gfp_flags);
273 int ttm_device_swapout(struct ttm_device *bdev, struct ttm_operation_ctx *ctx,
H A Dttm_pool.h37 struct ttm_operation_ctx;
84 struct ttm_operation_ctx *ctx);
98 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-6.15/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-6.15/drivers/gpu/drm/ttm/
H A Dttm_bo.c118 struct ttm_operation_ctx *ctx, in ttm_bo_handle_move_mem()
333 struct ttm_operation_ctx *ctx, in ttm_bo_bounce_temp_buffer()
357 struct ttm_operation_ctx *ctx) in ttm_bo_evict()
445 struct ttm_operation_ctx *ctx) in ttm_bo_evict_first()
559 struct ttm_operation_ctx *ctx, in ttm_bo_evict_alloc()
708 struct ttm_operation_ctx *ctx, in ttm_bo_alloc_resource()
784 struct ttm_operation_ctx *ctx) in ttm_bo_mem_space()
816 struct ttm_operation_ctx *ctx) in ttm_bo_validate()
926 uint32_t alignment, struct ttm_operation_ctx *ctx, in ttm_bo_init_reserved()
1107 struct ttm_operation_ctx *ctx = walk->ctx; in ttm_bo_swapout_cb()
[all …]
H A Dttm_bo_util.c143 struct ttm_operation_ctx *ctx, in ttm_bo_move_memcpy()
341 struct ttm_operation_ctx ctx = { in ttm_bo_kmap_ttm()
502 struct ttm_operation_ctx ctx = { in ttm_bo_vmap()
772 static bool ttm_lru_walk_trylock(struct ttm_operation_ctx *ctx, in ttm_lru_walk_trylock()
967 struct ttm_operation_ctx *ctx) in ttm_bo_lru_cursor_init()
1069 long ttm_bo_shrink(struct ttm_operation_ctx *ctx, struct ttm_buffer_object *bo, in ttm_bo_shrink()
1137 bool ttm_bo_shrink_suitable(struct ttm_buffer_object *bo, struct ttm_operation_ctx *ctx) in ttm_bo_shrink_suitable()
H A Dttm_device.c130 int ttm_global_swapout(struct ttm_operation_ctx *ctx, gfp_t gfp_flags) in ttm_global_swapout()
148 int ttm_device_swapout(struct ttm_device *bdev, struct ttm_operation_ctx *ctx, in ttm_device_swapout()
H A Dttm_tt.c296 const struct ttm_operation_ctx *ctx) in ttm_tt_restore()
368 struct ttm_tt *ttm, struct ttm_operation_ctx *ctx) in ttm_tt_populate()
455 struct ttm_operation_ctx ctx = { false, false }; in ttm_tt_debugfs_shrink_show()
/linux-6.15/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.c52 struct ttm_operation_ctx ctx = {}; in i915_ttm_backup()
175 struct ttm_operation_ctx ctx = {}; in i915_ttm_restore()
H A Di915_gem_ttm.c183 struct ttm_operation_ctx *ctx) in i915_ttm_tt_shmem_populate()
317 struct ttm_operation_ctx *ctx) in i915_ttm_tt_populate()
421 struct ttm_operation_ctx ctx = { in i915_ttm_purge()
461 struct ttm_operation_ctx ctx = { in i915_ttm_shrink()
777 struct ttm_operation_ctx ctx = { in __i915_ttm_get_pages()
1066 struct ttm_operation_ctx ctx = { in vm_fault_ttm()
1290 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-6.15/drivers/gpu/drm/ttm/tests/
H A Dttm_bo_validate_test.c110 struct ttm_operation_ctx ctx = { }; in ttm_bo_init_reserved_sys_man()
156 struct ttm_operation_ctx ctx = { }; in ttm_bo_init_reserved_mock_man()
198 struct ttm_operation_ctx ctx = { }; in ttm_bo_init_reserved_resv()
277 struct ttm_operation_ctx ctx = { }; in ttm_bo_validate_invalid_placement()
303 struct ttm_operation_ctx ctx = { }; in ttm_bo_validate_failed_alloc()
332 struct ttm_operation_ctx ctx = { }; in ttm_bo_validate_pinned()
523 struct ttm_operation_ctx ctx = { }; in ttm_bo_validate_no_placement_signaled()
593 struct ttm_operation_ctx ctx = { }; in ttm_bo_validate_no_placement_not_signaled()
645 struct ttm_operation_ctx ctx = { }; in ttm_bo_validate_move_fence_signaled()
700 struct ttm_operation_ctx ctx_init = { }, in ttm_bo_validate_move_fence_not_signaled()
[all …]
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-6.15/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_bo.c97 struct ttm_operation_ctx ctx = {interruptible, false }; in vmw_bo_pin_in_placement()
133 struct ttm_operation_ctx ctx = {interruptible, false }; in vmw_bo_pin_in_vram_or_gmr()
202 struct ttm_operation_ctx ctx = {interruptible, false }; in vmw_bo_pin_in_start_of_vram()
304 struct ttm_operation_ctx ctx = { false, true }; in vmw_bo_pin_reserved()
416 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-6.15/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_dma_buf.c174 struct ttm_operation_ctx ctx = { false, false }; in amdgpu_dma_buf_map()
264 struct ttm_operation_ctx ctx = { true, false }; in amdgpu_dma_buf_begin_cpu_access()
394 struct ttm_operation_ctx ctx = { false, false }; in amdgpu_dma_buf_move_notify()
/linux-6.15/drivers/gpu/drm/xe/
H A Dxe_shrinker.c57 struct ttm_operation_ctx *ctx, in xe_shrinker_walk()
155 struct ttm_operation_ctx ctx = { in xe_shrinker_scan()
H A Dxe_bo.c491 struct ttm_operation_ctx *ctx) in xe_ttm_tt_populate()
583 const struct ttm_operation_ctx *ctx) in xe_bo_trigger_rebind()
705 const struct ttm_operation_ctx *ctx) in xe_bo_move_notify()
746 struct ttm_operation_ctx *ctx, in xe_bo_move()
1117 struct ttm_operation_ctx ctx = { in xe_bo_evict_pinned()
1179 struct ttm_operation_ctx ctx = { in xe_bo_restore_pinned()
1350 struct ttm_operation_ctx ctx = { in xe_ttm_bo_swap_notify()
1633 struct ttm_operation_ctx ctx = { in ___xe_bo_create_locked()
2258 struct ttm_operation_ctx ctx = { in xe_bo_validate()
2721 struct ttm_operation_ctx ctx = { in xe_bo_migrate()
[all …]
/linux-6.15/drivers/gpu/drm/radeon/
H A Dradeon_mn.c54 struct ttm_operation_ctx ctx = { false, false }; in radeon_mn_invalidate()
/linux-6.15/drivers/gpu/drm/loongson/
H A Dlsdc_ttm.c113 struct ttm_operation_ctx *ctx) in lsdc_ttm_tt_populate()
160 struct ttm_operation_ctx *ctx, in lsdc_bo_move()
288 struct ttm_operation_ctx ctx = { false, false }; in lsdc_bo_pin()
/linux-6.15/drivers/gpu/drm/
H A Ddrm_gem_vram_helper.c281 struct ttm_operation_ctx ctx = { false, false }; in drm_gem_vram_pin_locked()
541 struct ttm_operation_ctx *ctx, in drm_gem_vram_bo_driver_move()
841 struct ttm_operation_ctx *ctx, in bo_driver_move()

123