/linux/drivers/gpu/drm/radeon/ |
A D | radeon_ttm.c | 78 return ttm_range_man_init(&rdev->mman.bdev, TTM_PL_TT, in radeon_ttm_init_gtt() 132 case TTM_PL_TT: in radeon_evict_flags() 159 case TTM_PL_TT: in radeon_move_blit() 170 case TTM_PL_TT: in radeon_move_blit() 204 if (new_mem->mem_type == TTM_PL_TT) { in radeon_bo_move() 228 new_mem->mem_type == TTM_PL_TT) { in radeon_bo_move() 233 if (old_mem->mem_type == TTM_PL_TT && in radeon_bo_move() 248 hop->mem_type = TTM_PL_TT; in radeon_bo_move() 280 case TTM_PL_TT: in radeon_ttm_io_mem_reserve() 775 ttm_range_man_fini(&rdev->mman.bdev, TTM_PL_TT); in radeon_ttm_fini() [all …]
|
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()
|
A D | radeon_object.c | 58 case TTM_PL_TT: in radeon_update_memory_usage() 122 rbo->placements[c].mem_type = TTM_PL_TT; in radeon_ttm_placement_from_domain()
|
A D | radeon_vm.c | 952 if (mem->mem_type == TTM_PL_TT) { in radeon_vm_bo_update()
|
/linux/drivers/gpu/drm/nouveau/ |
A D | nouveau_ttm.c | 204 return ttm_range_man_init(&drm->ttm.bdev, TTM_PL_TT, true, in nouveau_ttm_init_gtt() 214 ttm_set_driver_manager(&drm->ttm.bdev, TTM_PL_TT, man); in nouveau_ttm_init_gtt() 222 struct ttm_resource_manager *man = ttm_manager_type(&drm->ttm.bdev, TTM_PL_TT); in nouveau_ttm_fini_gtt() 226 ttm_range_man_fini(&drm->ttm.bdev, TTM_PL_TT); in nouveau_ttm_fini_gtt() 231 ttm_set_driver_manager(&drm->ttm.bdev, TTM_PL_TT, NULL); in nouveau_ttm_fini_gtt()
|
A D | nouveau_bo.c | 358 pl[*n].mem_type = TTM_PL_TT; in set_placement_list() 446 case TTM_PL_TT: in nouveau_bo_pin() 481 case TTM_PL_TT: in nouveau_bo_pin() 512 case TTM_PL_TT: in nouveau_bo_unpin() 981 if (new_reg->mem_type == TTM_PL_TT) { in nouveau_bo_move() 1008 new_reg->mem_type == TTM_PL_TT) { in nouveau_bo_move() 1013 if (old_reg->mem_type == TTM_PL_TT && in nouveau_bo_move() 1029 hop->mem_type = TTM_PL_TT; in nouveau_bo_move() 1065 case TTM_PL_TT: in nouveau_ttm_io_mem_free_locked() 1094 case TTM_PL_TT: in nouveau_ttm_io_mem_reserve()
|
A D | nouveau_bo0039.c | 41 if (reg->mem_type == TTM_PL_TT) in nouveau_bo_mem_ctxdma()
|
A D | nouveau_gem.c | 277 else if (nvbo->bo.resource->mem_type == TTM_PL_TT) in nouveau_gem_info() 352 bo->resource->mem_type == TTM_PL_TT) in nouveau_gem_set_domain() 564 (nvbo->bo.resource->mem_type == TTM_PL_TT && in validate_list() 568 if (nvbo->bo.resource->mem_type == TTM_PL_TT) in validate_list()
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_gtt_mgr.c | 62 man = ttm_manager_type(&adev->mman.bdev, TTM_PL_TT); in amdgpu_mem_info_gtt_total_show() 82 man = ttm_manager_type(&adev->mman.bdev, TTM_PL_TT); in amdgpu_mem_info_gtt_used_show() 302 ttm_set_driver_manager(&adev->mman.bdev, TTM_PL_TT, &mgr->manager); in amdgpu_gtt_mgr_init() 332 ttm_set_driver_manager(&adev->mman.bdev, TTM_PL_TT, NULL); in amdgpu_gtt_mgr_fini()
|
A D | amdgpu_ttm.c | 167 case TTM_PL_TT: in amdgpu_evict_flags() 248 if (mem->mem_type == TTM_PL_TT) { in amdgpu_ttm_map_buffer() 444 mem->mem_type == TTM_PL_TT) in amdgpu_mem_visible() 537 hop->mem_type = TTM_PL_TT; in amdgpu_bo_move() 582 case TTM_PL_TT: in amdgpu_ttm_io_mem_reserve() 628 case TTM_PL_TT: in amdgpu_ttm_domain_start() 930 if (bo_mem->mem_type != TTM_PL_TT || in amdgpu_ttm_backend_bind() 986 placements.mem_type = TTM_PL_TT; in amdgpu_ttm_alloc_gart() 1393 case TTM_PL_TT: in amdgpu_ttm_bo_eviction_valuable() 2076 case TTM_PL_TT: in amdgpu_ttm_evict_resources() [all …]
|
A D | amdgpu_object.c | 154 AMDGPU_PL_PREEMPT : TTM_PL_TT; in amdgpu_bo_placement_from_domain() 451 man = ttm_manager_type(&adev->mman.bdev, TTM_PL_TT); in amdgpu_bo_validate_size() 1002 } else if (bo->tbo.resource->mem_type == TTM_PL_TT) { in amdgpu_bo_unpin()
|
A D | amdgpu_object.h | 146 case TTM_PL_TT: in amdgpu_mem_type_to_domain()
|
A D | amdgpu_dma_buf.c | 184 case TTM_PL_TT: in amdgpu_dma_buf_map()
|
A D | amdgpu_kms.c | 687 ui64 = amdgpu_gtt_mgr_usage(ttm_manager_type(&adev->mman.bdev, TTM_PL_TT)); in amdgpu_info_ioctl() 710 vram_gtt.gtt_size = ttm_manager_type(&adev->mman.bdev, TTM_PL_TT)->size; in amdgpu_info_ioctl() 721 ttm_manager_type(&adev->mman.bdev, TTM_PL_TT); in amdgpu_info_ioctl()
|
A D | amdgpu_gmc.c | 105 case TTM_PL_TT: in amdgpu_gmc_get_pde_for_bo()
|
A D | amdgpu_device.c | 4244 if (shadow->tbo.resource->mem_type != TTM_PL_TT || in amdgpu_device_recover_vram() 4314 amdgpu_gtt_mgr_recover(ttm_manager_type(&adev->mman.bdev, TTM_PL_TT)); in amdgpu_device_reset_sriov() 4624 r = amdgpu_gtt_mgr_recover(ttm_manager_type(&tmp_adev->mman.bdev, TTM_PL_TT)); in amdgpu_do_asic_reset()
|
A D | amdgpu_debugfs.c | 1352 *val = amdgpu_ttm_evict_resources(adev, TTM_PL_TT); in amdgpu_debugfs_evict_gtt()
|
A D | amdgpu_vm.c | 1908 if (mem->mem_type == TTM_PL_TT || in amdgpu_vm_bo_update()
|
/linux/include/drm/ttm/ |
A D | ttm_placement.h | 41 #define TTM_PL_TT 1 macro
|
/linux/drivers/gpu/drm/i915/gem/ |
A D | i915_gem_ttm.h | 59 #define I915_PL_GGTT TTM_PL_TT
|
/linux/drivers/gpu/drm/ |
A D | drm_gem_ttm_helper.c | 28 [ TTM_PL_TT ] = "tt", in drm_gem_ttm_print_info()
|
/linux/drivers/gpu/drm/ttm/ |
A D | ttm_bo_vm.c | 433 case TTM_PL_TT: in ttm_bo_vm_access()
|
A D | ttm_bo.c | 126 case TTM_PL_TT: in ttm_bo_move_to_lru_tail() 152 man = ttm_manager_type(pos->first->bdev, TTM_PL_TT); in ttm_bo_bulk_move_lru_tail()
|