/linux/drivers/gpu/drm/loongson/ |
H A D | lsdc_ttm.c | 20 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 D | radeon_ttm.c | 78 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 D | radeon_object.h | 45 case TTM_PL_TT: in radeon_mem_type_to_domain() 99 case TTM_PL_TT: in radeon_bo_gpu_offset()
|
H A D | radeon_object.c | 100 rbo->placements[c].mem_type = TTM_PL_TT; in radeon_ttm_placement_from_domain()
|
H A D | radeon_kms.c | 553 man = ttm_manager_type(&rdev->mman.bdev, TTM_PL_TT); in radeon_info_ioctl()
|
H A D | radeon_vm.c | 952 if (mem->mem_type == TTM_PL_TT) { in radeon_vm_bo_update()
|
/linux/drivers/gpu/drm/ttm/tests/ |
H A D | ttm_kunit_helpers.c | 74 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 D | ttm_bo_validate_test.c | 465 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 D | nouveau_ttm.c | 229 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 D | nouveau_bo.c | 448 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 D | nouveau_bo0039.c | 41 if (reg->mem_type == TTM_PL_TT) in nouveau_bo_mem_ctxdma()
|
H A D | nouveau_gem.c | 312 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 D | amdgpu_gtt_mgr.c | 51 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 D | amdgpu_res_cursor.h | 92 case TTM_PL_TT: in amdgpu_res_first() 154 case TTM_PL_TT: in amdgpu_res_next()
|
H A D | amdgpu_ttm.c | 155 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 D | amdgpu_object.c | 158 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 D | amdgpu_dma_buf.c | 135 } 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 D | amdgpu_object.h | 185 case TTM_PL_TT: in amdgpu_mem_type_to_domain()
|
H A D | gmc_v12_0.c | 528 is_system = (bo->tbo.resource->mem_type == TTM_PL_TT) || in gmc_v12_0_get_vm_pte()
|
H A D | amdgpu_gmc.c | 110 case TTM_PL_TT: in amdgpu_gmc_get_pde_for_bo()
|
/linux/include/drm/ttm/ |
H A D | ttm_placement.h | 52 #define TTM_PL_TT 1 macro
|
/linux/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_ttm.h | 67 #define I915_PL_GGTT TTM_PL_TT
|
/linux/drivers/gpu/drm/ |
H A D | drm_gem_ttm_helper.c | 30 [ TTM_PL_TT ] = "tt", in drm_gem_ttm_print_info()
|
/linux/drivers/gpu/drm/xe/ |
H A D | xe_bo.h | 59 #define XE_PL_TT TTM_PL_TT
|
/linux/drivers/gpu/drm/ttm/ |
H A D | ttm_bo_vm.c | 427 case TTM_PL_TT: in ttm_bo_vm_access()
|