| /linux/include/drm/ttm/ |
| H A D | ttm_bo.h | 182 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 D | ttm_device.h | 37 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 D | ttm_pool.h | 37 struct ttm_operation_ctx; 82 struct ttm_operation_ctx *ctx); 96 const struct ttm_operation_ctx *ctx);
|
| H A D | ttm_tt.h | 40 struct ttm_operation_ctx; 253 struct ttm_operation_ctx *ctx); 299 const struct ttm_operation_ctx *ctx);
|
| /linux/drivers/gpu/drm/i915/ |
| H A D | i915_deps.h | 11 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 D | i915_deps.c | 76 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 D | ttm_bo.c | 122 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 D | ttm_bo_util.c | 147 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 D | ttm_tt.c | 299 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 D | i915_gem_ttm_move.h | 13 struct ttm_operation_ctx; 34 struct ttm_operation_ctx *ctx,
|
| H A D | i915_gem_ttm_pm.c | 53 struct ttm_operation_ctx ctx = {}; in i915_ttm_backup() 176 struct ttm_operation_ctx ctx = {}; in i915_ttm_restore()
|
| H A D | i915_gem_ttm.c | 185 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 D | i915_gem_ttm_move.c | 469 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 D | xe_shrinker.c | 58 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 D | xe_bo.c | 554 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 D | amdgpu_dma_buf.c | 194 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 D | ttm_tt_test.c | 262 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 D | vmwgfx_bo.c | 92 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 D | vmwgfx_ttm_buffer.c | 363 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 D | ttm_object.h | 314 struct ttm_operation_ctx ctx = { intr, no_wait }; in ttm_bo_wait()
|
| /linux/drivers/gpu/drm/radeon/ |
| H A D | radeon_mn.c | 54 struct ttm_operation_ctx ctx = { false, false }; in radeon_mn_invalidate()
|
| /linux/drivers/gpu/drm/loongson/ |
| H A D | lsdc_ttm.c | 114 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 D | drm_gem_vram_helper.c | 278 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 D | nouveau_prime.c | 111 struct ttm_operation_ctx ctx = { in nouveau_gem_prime_export()
|
| /linux/drivers/gpu/drm/qxl/ |
| H A D | qxl_object.c | 109 struct ttm_operation_ctx ctx = { !kernel, false }; in qxl_bo_create() 296 struct ttm_operation_ctx ctx = { false, false }; in qxl_bo_pin_locked()
|