/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_gtt_mgr.c | 50 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()
|
D | amdgpu_ttm.c | 147 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 …]
|
D | amdgpu_object.h | 133 case TTM_PL_TT: in amdgpu_mem_type_to_domain()
|
D | amdgpu_object.c | 71 } 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()
|
D | amdgpu_gmc.c | 51 case TTM_PL_TT: in amdgpu_gmc_get_pde_for_bo()
|
D | amdgpu_kms.c | 606 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()
|
D | amdgpu_dma_buf.c | 317 case TTM_PL_TT: in amdgpu_dma_buf_map()
|
D | amdgpu_device.c | 4019 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()
|
D | amdgpu_debugfs.c | 1330 seq_printf(m, "(%d)\n", ttm_bo_evict_mm(&adev->mman.bdev, TTM_PL_TT)); in amdgpu_debugfs_evict_gtt()
|
D | amdgpu_vm.c | 1812 if (mem->mem_type == TTM_PL_TT) { in amdgpu_vm_bo_update()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/ |
D | nouveau_ttm.c | 243 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()
|
D | nouveau_bo.c | 367 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()
|
D | nouveau_bo0039.c | 41 if (reg->mem_type == TTM_PL_TT) in nouveau_bo_mem_ctxdma()
|
D | nouveau_gem.c | 227 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/ |
D | radeon_ttm.c | 81 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 …]
|
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()
|
D | radeon_object.c | 60 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()
|
D | radeon_vm.c | 953 if (mem->mem_type == TTM_PL_TT) { in radeon_vm_bo_update()
|
/kernel/linux/linux-5.10/include/drm/ttm/ |
D | ttm_placement.h | 41 #define TTM_PL_TT 1 macro
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
D | drm_gem_ttm_helper.c | 28 [ TTM_PL_TT ] = "tt", in drm_gem_ttm_print_info()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ttm/ |
D | ttm_bo_vm.c | 504 case TTM_PL_TT: in ttm_bo_vm_access()
|
D | ttm_bo.c | 170 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()
|