Home
last modified time | relevance | path

Searched refs:TTM_PL_TT (Results 1 – 25 of 28) sorted by relevance

12

/linux/drivers/gpu/drm/loongson/
H A Dlsdc_ttm.c20 case TTM_PL_TT: in lsdc_mem_type_to_str()
64 lbo->placements[c].mem_type = TTM_PL_TT; in lsdc_bo_set_placement()
149 case TTM_PL_TT: in lsdc_bo_evict_flags()
194 new_mem->mem_type == TTM_PL_TT) { in lsdc_bo_move()
201 if (old_mem->mem_type == TTM_PL_TT && in lsdc_bo_move()
227 case TTM_PL_TT: in lsdc_bo_reserve_io_mem()
337 else if (tbo->resource->mem_type == TTM_PL_TT) in lsdc_bo_unpin()
531 ttm_range_man_fini(&ldev->bdev, TTM_PL_TT); in lsdc_ttm_fini()
564 ret = ttm_range_man_init(&ldev->bdev, TTM_PL_TT, true, num_gtt_pages); in lsdc_ttm_init()
583 gtt_man = ttm_manager_type(bdev, TTM_PL_TT); in lsdc_ttm_debugfs_init()
/linux/drivers/gpu/drm/radeon/
H A Dradeon_ttm.c78 return ttm_range_man_init(&rdev->mman.bdev, TTM_PL_TT, in radeon_ttm_init_gtt()
126 case TTM_PL_TT: in radeon_evict_flags()
153 case TTM_PL_TT: in radeon_move_blit()
164 case TTM_PL_TT: in radeon_move_blit()
197 if (new_mem->mem_type == TTM_PL_TT) { in radeon_bo_move()
214 new_mem->mem_type == TTM_PL_TT) { in radeon_bo_move()
219 if (old_mem->mem_type == TTM_PL_TT && in radeon_bo_move()
234 hop->mem_type = TTM_PL_TT; in radeon_bo_move()
266 case TTM_PL_TT: in radeon_ttm_io_mem_reserve()
750 ttm_range_man_fini(&rdev->mman.bdev, TTM_PL_TT); in radeon_ttm_fini()
[all …]
H A Dradeon_object.h45 case TTM_PL_TT: in radeon_mem_type_to_domain()
99 case TTM_PL_TT: in radeon_bo_gpu_offset()
H A Dradeon_object.c100 rbo->placements[c].mem_type = TTM_PL_TT; in radeon_ttm_placement_from_domain()
H A Dradeon_kms.c553 man = ttm_manager_type(&rdev->mman.bdev, TTM_PL_TT); in radeon_info_ioctl()
H A Dradeon_vm.c952 if (mem->mem_type == TTM_PL_TT) { in radeon_vm_bo_update()
/linux/drivers/gpu/drm/ttm/tests/
H A Dttm_kunit_helpers.c74 hop->mem_type = TTM_PL_TT; in mock_move()
82 new_mem->mem_type == TTM_PL_TT) || in mock_move()
83 (old_mem->mem_type == TTM_PL_TT && in mock_move()
100 case TTM_PL_TT: in mock_evict_flags()
H A Dttm_bo_validate_test.c465 u32 fst_mem = TTM_PL_VRAM, tmp_mem = TTM_PL_TT, final_mem = TTM_PL_SYSTEM; in ttm_bo_validate_multihop()
768 u32 mem_type = TTM_PL_TT; in ttm_bo_validate_swapout()
812 u32 mem_type = TTM_PL_VRAM, mem_multihop = TTM_PL_TT, in ttm_bo_validate_happy_evict()
873 u32 mem_type = TTM_PL_VRAM, mem_multihop = TTM_PL_TT; in ttm_bo_validate_all_pinned_evict()
917 u32 mem_type = TTM_PL_VRAM, mem_multihop = TTM_PL_TT, in ttm_bo_validate_allowed_only_evict()
1130 u32 mem_type = TTM_PL_TT, mem_type_evict = TTM_PL_MOCK2; in ttm_bo_validate_recrusive_evict()
/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_ttm.c229 return ttm_range_man_init(&drm->ttm.bdev, TTM_PL_TT, true, in nouveau_ttm_init_gtt()
239 ttm_set_driver_manager(&drm->ttm.bdev, TTM_PL_TT, man); in nouveau_ttm_init_gtt()
247 struct ttm_resource_manager *man = ttm_manager_type(&drm->ttm.bdev, TTM_PL_TT); in nouveau_ttm_fini_gtt()
251 ttm_range_man_fini(&drm->ttm.bdev, TTM_PL_TT); in nouveau_ttm_fini_gtt()
256 ttm_set_driver_manager(&drm->ttm.bdev, TTM_PL_TT, NULL); in nouveau_ttm_fini_gtt()
H A Dnouveau_bo.c448 pl[*n].mem_type = TTM_PL_TT; in nouveau_bo_placement_set()
489 case TTM_PL_TT: in nouveau_bo_pin_locked()
524 case TTM_PL_TT: in nouveau_bo_pin_locked()
550 case TTM_PL_TT: in nouveau_bo_unpin_locked()
1073 if (new_reg->mem_type == TTM_PL_TT) { in nouveau_bo_move()
1099 new_reg->mem_type == TTM_PL_TT) { in nouveau_bo_move()
1104 if (old_reg->mem_type == TTM_PL_TT && in nouveau_bo_move()
1120 hop->mem_type = TTM_PL_TT; in nouveau_bo_move()
1157 case TTM_PL_TT: in nouveau_ttm_io_mem_free_locked()
1186 case TTM_PL_TT: in nouveau_ttm_io_mem_reserve()
H A Dnouveau_bo0039.c41 if (reg->mem_type == TTM_PL_TT) in nouveau_bo_mem_ctxdma()
H A Dnouveau_gem.c312 else if (nvbo->bo.resource->mem_type == TTM_PL_TT) in nouveau_gem_info()
394 bo->resource->mem_type == TTM_PL_TT) in nouveau_gem_set_domain()
607 (nvbo->bo.resource->mem_type == TTM_PL_TT && in validate_list()
611 if (nvbo->bo.resource->mem_type == TTM_PL_TT) in validate_list()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_gtt_mgr.c51 man = ttm_manager_type(&adev->mman.bdev, TTM_PL_TT); in amdgpu_mem_info_gtt_total_show()
291 ttm_set_driver_manager(&adev->mman.bdev, TTM_PL_TT, &mgr->manager); in amdgpu_gtt_mgr_init()
321 ttm_set_driver_manager(&adev->mman.bdev, TTM_PL_TT, NULL); in amdgpu_gtt_mgr_fini()
H A Damdgpu_res_cursor.h92 case TTM_PL_TT: in amdgpu_res_first()
154 case TTM_PL_TT: in amdgpu_res_next()
H A Damdgpu_ttm.c155 case TTM_PL_TT: in amdgpu_evict_flags()
250 if (mem->mem_type == TTM_PL_TT) { in amdgpu_ttm_map_buffer()
444 if (res->mem_type == TTM_PL_SYSTEM || res->mem_type == TTM_PL_TT || in amdgpu_res_cpu_visible()
495 if (new_mem->mem_type == TTM_PL_TT || in amdgpu_bo_move()
512 (new_mem->mem_type == TTM_PL_TT || in amdgpu_bo_move()
518 if ((old_mem->mem_type == TTM_PL_TT || in amdgpu_bo_move()
562 hop->mem_type = TTM_PL_TT; in amdgpu_bo_move()
607 case TTM_PL_TT: in amdgpu_ttm_io_mem_reserve()
660 case TTM_PL_TT: in amdgpu_ttm_domain_start()
956 if (bo_mem->mem_type != TTM_PL_TT || in amdgpu_ttm_backend_bind()
[all …]
H A Damdgpu_object.c158 AMDGPU_PL_PREEMPT : TTM_PL_TT; in amdgpu_bo_placement_from_domain()
460 man = ttm_manager_type(&adev->mman.bdev, TTM_PL_TT); in amdgpu_bo_validate_size()
892 } else if (bo->tbo.resource->mem_type == TTM_PL_TT) { in amdgpu_bo_pin()
925 } else if (bo->tbo.resource->mem_type == TTM_PL_TT) { in amdgpu_bo_unpin()
1196 case TTM_PL_TT: in amdgpu_bo_get_memory()
1428 if (bo->tbo.resource->mem_type == TTM_PL_TT) in amdgpu_bo_gpu_offset_no_check()
1498 case TTM_PL_TT: in amdgpu_bo_print_info()
H A Damdgpu_dma_buf.c135 } else if (bo->tbo.resource->mem_type != TTM_PL_TT) { in amdgpu_dma_buf_map()
140 case TTM_PL_TT: in amdgpu_dma_buf_map()
H A Damdgpu_object.h185 case TTM_PL_TT: in amdgpu_mem_type_to_domain()
H A Dgmc_v12_0.c528 is_system = (bo->tbo.resource->mem_type == TTM_PL_TT) || in gmc_v12_0_get_vm_pte()
H A Damdgpu_gmc.c110 case TTM_PL_TT: in amdgpu_gmc_get_pde_for_bo()
/linux/include/drm/ttm/
H A Dttm_placement.h52 #define TTM_PL_TT 1 macro
/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_ttm.h67 #define I915_PL_GGTT TTM_PL_TT
/linux/drivers/gpu/drm/
H A Ddrm_gem_ttm_helper.c30 [ TTM_PL_TT ] = "tt", in drm_gem_ttm_print_info()
/linux/drivers/gpu/drm/xe/
H A Dxe_bo.h59 #define XE_PL_TT TTM_PL_TT
/linux/drivers/gpu/drm/ttm/
H A Dttm_bo_vm.c427 case TTM_PL_TT: in ttm_bo_vm_access()

12