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.h183 struct ttm_operation_ctx { struct
218 struct ttm_operation_ctx *ctx;
391 struct ttm_operation_ctx *ctx);
394 struct ttm_operation_ctx *ctx);
402 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);
455 struct ttm_operation_ctx *ctx,
468 struct ttm_operation_ctx *ctx);
H A Dttm_pool.h36 struct ttm_operation_ctx;
83 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.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()
558 struct ttm_operation_ctx *ctx, in ttm_bo_evict_alloc()
707 struct ttm_operation_ctx *ctx, in ttm_bo_alloc_resource()
783 struct ttm_operation_ctx *ctx) in ttm_bo_mem_space()
815 struct ttm_operation_ctx *ctx) in ttm_bo_validate()
925 uint32_t alignment, struct ttm_operation_ctx *ctx, in ttm_bo_init_reserved()
1022 struct ttm_operation_ctx ctx = { interruptible, false }; in ttm_bo_init_validate()
[all …]
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_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()
776 struct ttm_operation_ctx *ctx = walk->ctx; in ttm_lru_walk_trylock()
/linux/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()
231 struct ttm_operation_ctx ctx_init = { }, ctx_val = { }; in ttm_bo_validate_basic()
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()
376 struct ttm_operation_ctx ctx_init = { }, ctx_val = { }; in ttm_bo_validate_same_placement()
415 struct ttm_operation_ctx ctx_init = { }, ctx_val = { }; in ttm_bo_validate_busy_placement()
463 struct ttm_operation_ctx ctx_init = { }, ctx_val = { }; in ttm_bo_validate_multihop()
[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()
H A Dttm_kunit_helpers.c61 struct ttm_operation_ctx *ctx, in mock_move()
/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.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()
/linux/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/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_dma_buf.c125 struct ttm_operation_ctx ctx = { false, false }; in amdgpu_dma_buf_map()
213 struct ttm_operation_ctx ctx = { true, false }; in amdgpu_dma_buf_begin_cpu_access()
343 struct ttm_operation_ctx ctx = { false, false }; in amdgpu_dma_buf_move_notify()
H A Damdgpu_amdkfd_gpuvm.c412 struct ttm_operation_ctx ctx = { false, false }; in amdgpu_amdkfd_bo_validate()
557 struct ttm_operation_ctx ctx = {.interruptible = true}; in kfd_mem_dmamap_userptr()
604 struct ttm_operation_ctx ctx = {.interruptible = true}; in kfd_mem_dmamap_dmabuf()
647 struct ttm_operation_ctx ctx = {.interruptible = true}; in kfd_mem_dmamap_sg_bo()
724 struct ttm_operation_ctx ctx = {.interruptible = false}; in kfd_mem_dmaunmap_userptr()
770 struct ttm_operation_ctx ctx = {.interruptible = true}; in kfd_mem_dmaunmap_sg_bo()
1056 struct ttm_operation_ctx ctx = { true, false }; in init_user_pages()
1491 struct ttm_operation_ctx ctx = { true, false }; in amdgpu_amdkfd_gpuvm_pin_bo()
2552 struct ttm_operation_ctx ctx = { false, false }; in update_invalid_user_pages()
2648 struct ttm_operation_ctx ctx = { false, false }; in validate_invalid_user_pages()
H A Damdgpu_object.c443 struct ttm_operation_ctx ctx = { false, false }; in amdgpu_bo_create_kernel_at()
632 struct ttm_operation_ctx ctx = { in amdgpu_bo_create()
931 struct ttm_operation_ctx ctx = { false, false }; in amdgpu_bo_pin()
1336 struct ttm_operation_ctx ctx = { false, false }; in amdgpu_bo_fault_reserve_notify()
/linux/drivers/gpu/drm/xe/
H A Dxe_bo.c414 struct ttm_operation_ctx *ctx) in xe_ttm_tt_populate()
494 const struct ttm_operation_ctx *ctx) in xe_bo_trigger_rebind()
616 const struct ttm_operation_ctx *ctx) in xe_bo_move_notify()
657 struct ttm_operation_ctx *ctx, in xe_bo_move()
894 struct ttm_operation_ctx ctx = { in xe_bo_evict_pinned()
956 struct ttm_operation_ctx ctx = { in xe_bo_restore_pinned()
1113 static void xe_ttm_bo_purge(struct ttm_buffer_object *ttm_bo, struct ttm_operation_ctx *ctx) in xe_ttm_bo_purge()
1127 struct ttm_operation_ctx ctx = { in xe_ttm_bo_swap_notify()
1410 struct ttm_operation_ctx ctx = { in ___xe_bo_create_locked()
2024 struct ttm_operation_ctx ctx = { in xe_bo_validate()
[all …]
/linux/drivers/gpu/drm/radeon/
H A Dradeon_mn.c54 struct ttm_operation_ctx ctx = { false, false }; in radeon_mn_invalidate()
H A Dradeon_object.c275 struct ttm_operation_ctx ctx = { false, false }; in radeon_bo_pin_restricted()
470 struct ttm_operation_ctx ctx = { true, false }; in radeon_bo_list_validate()
719 struct ttm_operation_ctx ctx = { false, false }; in radeon_bo_fault_reserve_notify()
/linux/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/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()
H A Dqxl_ttm.c137 struct ttm_operation_ctx *ctx, in qxl_bo_move()
/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_bo.c347 struct ttm_operation_ctx ctx = { in nouveau_bo_init()
707 struct ttm_operation_ctx ctx = { interruptible, no_wait_gpu }; in nouveau_bo_validate()
857 struct ttm_operation_ctx *ctx, in nouveau_bo_move_m2mf()
1062 struct ttm_operation_ctx *ctx, in nouveau_bo_move()
1337 struct ttm_tt *ttm, struct ttm_operation_ctx *ctx) in nouveau_ttm_tt_populate()

123