Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/ttm/
Dttm_resource.c33 ttm_manager_type(bo->bdev, res->mem_type); in ttm_resource_alloc()
45 ttm_manager_type(bo->bdev, res->mem_type); in ttm_resource_free()
Dttm_bo.c81 man = ttm_manager_type(bo->bdev, mem_type); in ttm_bo_mem_space_debug()
124 man = ttm_manager_type(bdev, mem->mem_type); in ttm_bo_add_mem_to_lru()
199 man = ttm_manager_type(pos->first->bdev, TTM_PL_TT); in ttm_bo_bulk_move_lru_tail()
214 man = ttm_manager_type(pos->first->bdev, TTM_PL_VRAM); in ttm_bo_bulk_move_lru_tail()
240 struct ttm_resource_manager *old_man = ttm_manager_type(bdev, bo->mem.mem_type); in ttm_bo_handle_move_mem()
241 struct ttm_resource_manager *new_man = ttm_manager_type(bdev, mem->mem_type); in ttm_bo_handle_move_mem()
305 new_man = ttm_manager_type(bdev, bo->mem.mem_type); in ttm_bo_handle_move_mem()
845 struct ttm_resource_manager *man = ttm_manager_type(bdev, mem->mem_type); in ttm_bo_mem_force_space()
908 man = ttm_manager_type(bdev, place->mem_type); in ttm_bo_mem_placement()
963 man = ttm_manager_type(bdev, mem->mem_type); in ttm_bo_mem_space()
[all …]
Dttm_bo_util.c222 struct ttm_resource_manager *man = ttm_manager_type(bdev, new_mem->mem_type); in ttm_bo_move_memcpy()
587 struct ttm_resource_manager *from = ttm_manager_type(bdev, bo->mem.mem_type); in ttm_bo_move_pipeline_evict()
613 struct ttm_resource_manager *from = ttm_manager_type(bdev, bo->mem.mem_type); in ttm_bo_move_accel_cleanup()
614 struct ttm_resource_manager *man = ttm_manager_type(bdev, new_mem->mem_type); in ttm_bo_move_accel_cleanup()
Dttm_range_manager.c145 struct ttm_resource_manager *man = ttm_manager_type(bdev, type); in ttm_range_man_fini()
/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()
Damdgpu_kms.c600 ui64 = amdgpu_vram_mgr_usage(ttm_manager_type(&adev->mman.bdev, TTM_PL_VRAM)); in amdgpu_info_ioctl()
603 ui64 = amdgpu_vram_mgr_vis_usage(ttm_manager_type(&adev->mman.bdev, TTM_PL_VRAM)); in amdgpu_info_ioctl()
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()
638 ttm_manager_type(&adev->mman.bdev, TTM_PL_VRAM); in amdgpu_info_ioctl()
640 ttm_manager_type(&adev->mman.bdev, TTM_PL_TT); in amdgpu_info_ioctl()
Damdgpu_vram_mgr.c88 struct ttm_resource_manager *man = ttm_manager_type(&adev->mman.bdev, TTM_PL_VRAM); in amdgpu_mem_info_vram_used_show()
107 struct ttm_resource_manager *man = ttm_manager_type(&adev->mman.bdev, TTM_PL_VRAM); in amdgpu_mem_info_vis_vram_used_show()
Damdgpu_object.c461 man = ttm_manager_type(&adev->mman.bdev, TTM_PL_TT); in amdgpu_bo_validate_size()
470 man = ttm_manager_type(&adev->mman.bdev, TTM_PL_VRAM); in amdgpu_bo_validate_size()
Damdgpu_amdkfd.c535 struct ttm_resource_manager *vram_man = ttm_manager_type(&adev->mman.bdev, TTM_PL_VRAM); in amdgpu_amdkfd_get_vram_usage()
Damdgpu_virt.c515 struct ttm_resource_manager *vram_man = ttm_manager_type(&adev->mman.bdev, TTM_PL_VRAM); in amdgpu_virt_write_vf2pf_data()
Damdgpu_ttm.c2059 struct ttm_resource_manager *man = ttm_manager_type(&adev->mman.bdev, TTM_PL_VRAM); in amdgpu_ttm_set_buffer_funcs_status()
2281 struct ttm_resource_manager *man = ttm_manager_type(&adev->mman.bdev, ttm_pl); in amdgpu_mm_dump_table()
Damdgpu_cs.c302 struct ttm_resource_manager *vram_man = ttm_manager_type(&adev->mman.bdev, TTM_PL_VRAM); in amdgpu_cs_get_threshold_for_moves()
Damdgpu_device.c4089 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()
/kernel/linux/linux-5.10/drivers/gpu/drm/qxl/
Dqxl_ttm.c284 qxl_mem_types_list[i].data = ttm_manager_type(&qdev->mman.bdev, TTM_PL_VRAM); in qxl_ttm_debugfs_init()
286 qxl_mem_types_list[i].data = ttm_manager_type(&qdev->mman.bdev, TTM_PL_PRIV); in qxl_ttm_debugfs_init()
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_gmrid_manager.c141 struct ttm_resource_manager *man = ttm_manager_type(&dev_priv->bdev, type); in vmw_gmrid_man_fini()
Dvmwgfx_thp.c148 struct ttm_resource_manager *man = ttm_manager_type(&dev_priv->bdev, TTM_PL_VRAM); in vmw_thp_fini()
Dvmwgfx_drv.c632 ttm_resource_manager_set_used(ttm_manager_type(&dev_priv->bdev, TTM_PL_VRAM), false); in vmw_vram_manager_init()
1189 struct ttm_resource_manager *man = ttm_manager_type(&dev_priv->bdev, TTM_PL_VRAM); in __vmw_svga_enable()
1220 struct ttm_resource_manager *man = ttm_manager_type(&dev_priv->bdev, TTM_PL_VRAM); in __vmw_svga_disable()
1241 struct ttm_resource_manager *man = ttm_manager_type(&dev_priv->bdev, TTM_PL_VRAM); in vmw_svga_disable()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/
Dnouveau_ttm.c219 struct ttm_resource_manager *man = ttm_manager_type(&drm->ttm.bdev, TTM_PL_VRAM); in nouveau_ttm_fini_vram()
261 struct ttm_resource_manager *man = ttm_manager_type(&drm->ttm.bdev, TTM_PL_TT); in nouveau_ttm_fini_gtt()
/kernel/linux/linux-5.10/include/drm/ttm/
Dttm_bo_driver.h355 static inline struct ttm_resource_manager *ttm_manager_type(struct ttm_bo_device *bdev, in ttm_manager_type() function
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dradeon_ttm.c903 man = ttm_manager_type(&rdev->mman.bdev, TTM_PL_VRAM); in radeon_ttm_set_active_vram_size()
957 struct ttm_resource_manager *man = ttm_manager_type(&rdev->mman.bdev, ttm_pl); in radeon_mm_dump_table()
Dradeon_gem.c229 man = ttm_manager_type(&rdev->mman.bdev, TTM_PL_VRAM); in radeon_gem_info_ioctl()
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_gem_vram_helper.c1020 struct ttm_resource_manager *man = ttm_manager_type(&vmm->bdev, TTM_PL_VRAM); in drm_vram_mm_debugfs()