Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_gtt_mgr.c50 struct ttm_resource_manager *man = ttm_manager_type(&adev->mman.bdev, TTM_PL_TT); in amdgpu_mem_info_gtt_total_show()
69 struct ttm_resource_manager *man = ttm_manager_type(&adev->mman.bdev, TTM_PL_TT); in amdgpu_mem_info_gtt_used_show()
118 ttm_set_driver_manager(&adev->mman.bdev, TTM_PL_TT, &mgr->manager); in amdgpu_gtt_mgr_init()
151 ttm_set_driver_manager(&adev->mman.bdev, TTM_PL_TT, NULL); in amdgpu_gtt_mgr_fini()
186 if ((&tbo->mem == mem || tbo->mem.mem_type != TTM_PL_TT) && in amdgpu_gtt_mgr_new()
Damdgpu_ttm.c147 case TTM_PL_TT: in amdgpu_evict_flags()
294 if (mem->mem_type == TTM_PL_TT) { in amdgpu_ttm_map_buffer()
540 placements.mem_type = TTM_PL_TT; in amdgpu_move_vram_ram()
601 placements.mem_type = TTM_PL_TT; in amdgpu_move_ram_vram()
636 mem->mem_type == TTM_PL_TT) in amdgpu_mem_visible()
674 if ((old_mem->mem_type == TTM_PL_TT && in amdgpu_bo_move()
677 new_mem->mem_type == TTM_PL_TT)) { in amdgpu_bo_move()
752 case TTM_PL_TT: in amdgpu_ttm_io_mem_reserve()
801 case TTM_PL_TT: in amdgpu_ttm_domain_start()
1198 placements.mem_type = TTM_PL_TT; in amdgpu_ttm_alloc_gart()
[all …]
Damdgpu_object.h133 case TTM_PL_TT: in amdgpu_mem_type_to_domain()
Damdgpu_object.c71 } else if (bo->tbo.mem.mem_type == TTM_PL_TT) { in amdgpu_bo_subtract_pin_size()
155 places[c].mem_type = TTM_PL_TT; in amdgpu_bo_placement_from_domain()
461 man = ttm_manager_type(&adev->mman.bdev, TTM_PL_TT); in amdgpu_bo_validate_size()
Damdgpu_gmc.c51 case TTM_PL_TT: in amdgpu_gmc_get_pde_for_bo()
Damdgpu_kms.c606 ui64 = amdgpu_gtt_mgr_usage(ttm_manager_type(&adev->mman.bdev, TTM_PL_TT)); in amdgpu_info_ioctl()
629 vram_gtt.gtt_size = ttm_manager_type(&adev->mman.bdev, TTM_PL_TT)->size; in amdgpu_info_ioctl()
640 ttm_manager_type(&adev->mman.bdev, TTM_PL_TT); in amdgpu_info_ioctl()
Damdgpu_dma_buf.c317 case TTM_PL_TT: in amdgpu_dma_buf_map()
Damdgpu_device.c4019 if (shadow->tbo.mem.mem_type != TTM_PL_TT || in amdgpu_device_recover_vram()
4089 amdgpu_gtt_mgr_recover(ttm_manager_type(&adev->mman.bdev, TTM_PL_TT)); in amdgpu_device_reset_sriov()
4326 r = amdgpu_gtt_mgr_recover(ttm_manager_type(&tmp_adev->mman.bdev, TTM_PL_TT)); in amdgpu_do_asic_reset()
Damdgpu_debugfs.c1330 seq_printf(m, "(%d)\n", ttm_bo_evict_mm(&adev->mman.bdev, TTM_PL_TT)); in amdgpu_debugfs_evict_gtt()
Damdgpu_vm.c1812 if (mem->mem_type == TTM_PL_TT) { in amdgpu_vm_bo_update()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/
Dnouveau_ttm.c243 return ttm_range_man_init(&drm->ttm.bdev, TTM_PL_TT, true, in nouveau_ttm_init_gtt()
253 ttm_set_driver_manager(&drm->ttm.bdev, TTM_PL_TT, man); in nouveau_ttm_init_gtt()
261 struct ttm_resource_manager *man = ttm_manager_type(&drm->ttm.bdev, TTM_PL_TT); in nouveau_ttm_fini_gtt()
265 ttm_range_man_fini(&drm->ttm.bdev, TTM_PL_TT); in nouveau_ttm_fini_gtt()
270 ttm_set_driver_manager(&drm->ttm.bdev, TTM_PL_TT, NULL); in nouveau_ttm_fini_gtt()
Dnouveau_bo.c367 pl[*n].mem_type = TTM_PL_TT; in set_placement_list()
464 case TTM_PL_TT: in nouveau_bo_pin()
504 case TTM_PL_TT: in nouveau_bo_pin()
538 case TTM_PL_TT: in nouveau_bo_unpin()
551 case TTM_PL_TT: in nouveau_bo_unpin()
914 .mem_type = TTM_PL_TT, in nouveau_bo_move_flipd()
956 .mem_type = TTM_PL_TT, in nouveau_bo_move_flips()
1135 case TTM_PL_TT: in nouveau_ttm_io_mem_free_locked()
1163 case TTM_PL_TT: in nouveau_ttm_io_mem_reserve()
Dnouveau_bo0039.c41 if (reg->mem_type == TTM_PL_TT) in nouveau_bo_mem_ctxdma()
Dnouveau_gem.c227 else if (nvbo->bo.mem.mem_type == TTM_PL_TT) in nouveau_gem_info()
302 bo->mem.mem_type == TTM_PL_TT) in nouveau_gem_set_domain()
514 (nvbo->bo.mem.mem_type == TTM_PL_TT && in validate_list()
518 if (nvbo->bo.mem.mem_type == TTM_PL_TT) in validate_list()
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dradeon_ttm.c81 return ttm_range_man_init(&rdev->mman.bdev, TTM_PL_TT, in radeon_ttm_init_gtt()
135 case TTM_PL_TT: in radeon_evict_flags()
173 case TTM_PL_TT: in radeon_move_blit()
184 case TTM_PL_TT: in radeon_move_blit()
228 placements.mem_type = TTM_PL_TT; in radeon_move_vram_ram()
279 placements.mem_type = TTM_PL_TT; in radeon_move_ram_vram()
321 if ((old_mem->mem_type == TTM_PL_TT && in radeon_bo_move()
324 new_mem->mem_type == TTM_PL_TT)) { in radeon_bo_move()
370 case TTM_PL_TT: in radeon_ttm_io_mem_reserve()
887 ttm_range_man_fini(&rdev->mman.bdev, TTM_PL_TT); in radeon_ttm_fini()
[all …]
Dradeon_object.h45 case TTM_PL_TT: in radeon_mem_type_to_domain()
99 case TTM_PL_TT: in radeon_bo_gpu_offset()
Dradeon_object.c60 case TTM_PL_TT: in radeon_update_memory_usage()
129 rbo->placements[c].mem_type = TTM_PL_TT; in radeon_ttm_placement_from_domain()
135 rbo->placements[c].mem_type = TTM_PL_TT; in radeon_ttm_placement_from_domain()
140 rbo->placements[c].mem_type = TTM_PL_TT; in radeon_ttm_placement_from_domain()
Dradeon_vm.c953 if (mem->mem_type == TTM_PL_TT) { in radeon_vm_bo_update()
/kernel/linux/linux-5.10/include/drm/ttm/
Dttm_placement.h41 #define TTM_PL_TT 1 macro
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_gem_ttm_helper.c28 [ TTM_PL_TT ] = "tt", in drm_gem_ttm_print_info()
/kernel/linux/linux-5.10/drivers/gpu/drm/ttm/
Dttm_bo_vm.c504 case TTM_PL_TT: in ttm_bo_vm_access()
Dttm_bo.c170 case TTM_PL_TT: in ttm_bo_move_to_lru_tail()
199 man = ttm_manager_type(pos->first->bdev, TTM_PL_TT); in ttm_bo_bulk_move_lru_tail()