/linux/drivers/gpu/drm/ttm/ |
A D | ttm_bo.c | 67 man = ttm_manager_type(bo->bdev, mem_type); in ttm_bo_mem_space_debug() 118 man = ttm_manager_type(bdev, mem->mem_type); 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() 167 man = ttm_manager_type(pos->first->bdev, TTM_PL_VRAM); in ttm_bo_bulk_move_lru_tail() 183 old_man = ttm_manager_type(bdev, bo->resource->mem_type); in ttm_bo_handle_move_mem() 184 new_man = ttm_manager_type(bdev, mem->mem_type); in ttm_bo_handle_move_mem() 218 new_man = ttm_manager_type(bdev, bo->resource->mem_type); in ttm_bo_handle_move_mem() 788 man = ttm_manager_type(bdev, place->mem_type); in ttm_bo_mem_force_space() 830 man = ttm_manager_type(bdev, place->mem_type); in ttm_bo_mem_space() 856 man = ttm_manager_type(bdev, place->mem_type); in ttm_bo_mem_space()
|
A D | ttm_bo_util.c | 137 ttm_manager_type(bo->bdev, dst_mem->mem_type); in ttm_bo_move_memcpy() 141 ttm_manager_type(bdev, src_mem->mem_type); in ttm_bo_move_memcpy() 261 man = ttm_manager_type(bo->bdev, res->mem_type); in ttm_io_prot() 525 from = ttm_manager_type(bdev, bo->resource->mem_type); in ttm_bo_move_pipeline_evict() 551 struct ttm_resource_manager *from = ttm_manager_type(bdev, bo->resource->mem_type); in ttm_bo_move_accel_cleanup() 552 struct ttm_resource_manager *man = ttm_manager_type(bdev, new_mem->mem_type); in ttm_bo_move_accel_cleanup()
|
A D | ttm_device.c | 152 man = ttm_manager_type(bdev, i); in ttm_device_swapout() 238 man = ttm_manager_type(bdev, TTM_PL_SYSTEM); in ttm_device_fini() 285 man = ttm_manager_type(bdev, i); in ttm_device_clear_dma_mappings()
|
A D | ttm_resource.c | 52 ttm_manager_type(bo->bdev, place->mem_type); in ttm_resource_alloc() 64 man = ttm_manager_type(bo->bdev, (*res)->mem_type); in ttm_resource_free()
|
A D | ttm_range_manager.c | 179 struct ttm_resource_manager *man = ttm_manager_type(bdev, type); in ttm_range_man_fini_nocheck()
|
/linux/drivers/gpu/drm/qxl/ |
A D | qxl_ttm.c | 255 qxl_mem_types_list[i].data = ttm_manager_type(&qdev->mman.bdev, TTM_PL_VRAM); in qxl_ttm_debugfs_init() 257 qxl_mem_types_list[i].data = ttm_manager_type(&qdev->mman.bdev, TTM_PL_PRIV); in qxl_ttm_debugfs_init()
|
A D | qxl_object.c | 404 man = ttm_manager_type(&qdev->mman.bdev, TTM_PL_PRIV); in qxl_surf_evict() 412 man = ttm_manager_type(&qdev->mman.bdev, TTM_PL_VRAM); in qxl_vram_evict()
|
/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()
|
A D | amdgpu_preempt_mgr.c | 50 man = ttm_manager_type(&adev->mman.bdev, AMDGPU_PL_PREEMPT); in mem_info_preempt_used_show()
|
A D | amdgpu_ttm.c | 1863 struct ttm_resource_manager *man = ttm_manager_type(&adev->mman.bdev, TTM_PL_VRAM); in amdgpu_ttm_set_buffer_funcs_status() 2080 man = ttm_manager_type(&adev->mman.bdev, mem_type); in amdgpu_ttm_evict_resources() 2095 struct ttm_resource_manager *man = ttm_manager_type(&adev->mman.bdev, in amdgpu_mm_vram_table_show() 2113 struct ttm_resource_manager *man = ttm_manager_type(&adev->mman.bdev, in amdgpu_mm_tt_table_show() 2124 struct ttm_resource_manager *man = ttm_manager_type(&adev->mman.bdev, in amdgpu_mm_gds_table_show() 2135 struct ttm_resource_manager *man = ttm_manager_type(&adev->mman.bdev, in amdgpu_mm_gws_table_show() 2146 struct ttm_resource_manager *man = ttm_manager_type(&adev->mman.bdev, in amdgpu_mm_oa_table_show()
|
A D | amdgpu_kms.c | 681 ui64 = amdgpu_vram_mgr_usage(ttm_manager_type(&adev->mman.bdev, TTM_PL_VRAM)); in amdgpu_info_ioctl() 684 ui64 = amdgpu_vram_mgr_vis_usage(ttm_manager_type(&adev->mman.bdev, TTM_PL_VRAM)); in amdgpu_info_ioctl() 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() 719 ttm_manager_type(&adev->mman.bdev, TTM_PL_VRAM); in amdgpu_info_ioctl() 721 ttm_manager_type(&adev->mman.bdev, TTM_PL_TT); in amdgpu_info_ioctl()
|
A D | amdgpu_vram_mgr.c | 101 man = ttm_manager_type(&adev->mman.bdev, TTM_PL_VRAM); in amdgpu_mem_info_vram_used_show() 121 man = ttm_manager_type(&adev->mman.bdev, TTM_PL_VRAM); in amdgpu_mem_info_vis_vram_used_show()
|
A D | amdgpu_object.c | 451 man = ttm_manager_type(&adev->mman.bdev, TTM_PL_TT); in amdgpu_bo_validate_size() 460 man = ttm_manager_type(&adev->mman.bdev, TTM_PL_VRAM); in amdgpu_bo_validate_size()
|
A D | amdgpu_amdkfd.c | 534 struct ttm_resource_manager *vram_man = ttm_manager_type(&adev->mman.bdev, TTM_PL_VRAM); in amdgpu_amdkfd_get_vram_usage()
|
/linux/drivers/gpu/drm/vmwgfx/ |
A D | vmwgfx_drv.c | 555 man = ttm_manager_type(&dev_priv->bdev, VMW_PL_MOB); in vmw_request_device() 591 man = ttm_manager_type(&dev_priv->bdev, VMW_PL_MOB); in vmw_release_device_early() 716 ttm_resource_manager_set_used(ttm_manager_type(&dev_priv->bdev, TTM_PL_VRAM), false); in vmw_vram_manager_init() 1317 struct ttm_resource_manager *man = ttm_manager_type(&dev_priv->bdev, TTM_PL_VRAM); in __vmw_svga_enable() 1344 struct ttm_resource_manager *man = ttm_manager_type(&dev_priv->bdev, TTM_PL_VRAM); in __vmw_svga_disable() 1363 struct ttm_resource_manager *man = ttm_manager_type(&dev_priv->bdev, TTM_PL_VRAM); in vmw_svga_disable()
|
A D | vmwgfx_gmrid_manager.c | 175 struct ttm_resource_manager *man = ttm_manager_type(&dev_priv->bdev, type); in vmw_gmrid_man_fini()
|
A D | vmwgfx_thp.c | 151 struct ttm_resource_manager *man = ttm_manager_type(&dev_priv->bdev, TTM_PL_VRAM); in vmw_thp_fini()
|
A D | vmwgfx_ttm_buffer.c | 679 struct ttm_resource_manager *old_man = ttm_manager_type(bo->bdev, bo->resource->mem_type); in vmw_move() 680 struct ttm_resource_manager *new_man = ttm_manager_type(bo->bdev, new_mem->mem_type); in vmw_move()
|
/linux/drivers/gpu/drm/nouveau/ |
A D | nouveau_ttm.c | 180 struct ttm_resource_manager *man = ttm_manager_type(&drm->ttm.bdev, TTM_PL_VRAM); in nouveau_ttm_fini_vram() 222 struct ttm_resource_manager *man = ttm_manager_type(&drm->ttm.bdev, TTM_PL_TT); in nouveau_ttm_fini_gtt()
|
/linux/include/drm/ttm/ |
A D | ttm_device.h | 292 ttm_manager_type(struct ttm_device *bdev, int mem_type) in ttm_manager_type() function
|
/linux/drivers/gpu/drm/i915/ |
A D | intel_region_ttm.c | 94 mem->region_private = ttm_manager_type(bdev, mem_type); in intel_region_ttm_init()
|
A D | i915_ttm_buddy_manager.c | 229 struct ttm_resource_manager *man = ttm_manager_type(bdev, type); in i915_ttm_buddy_man_fini()
|
/linux/drivers/gpu/drm/i915/gem/ |
A D | i915_gem_ttm.c | 186 ttm_manager_type(bo->bdev, bo->resource->mem_type); in i915_ttm_tt_create() 451 ttm_manager_type(bo->bdev, bo->resource->mem_type); in i915_ttm_accel_move() 545 ttm_manager_type(bo->bdev, dst_mem->mem_type); in i915_ttm_move()
|
/linux/drivers/gpu/drm/radeon/ |
A D | radeon_ttm.c | 791 man = ttm_manager_type(&rdev->mman.bdev, TTM_PL_VRAM); in radeon_ttm_set_active_vram_size() 801 struct ttm_resource_manager *man = ttm_manager_type(&rdev->mman.bdev, in radeon_mm_vram_dump_table_show() 819 struct ttm_resource_manager *man = ttm_manager_type(&rdev->mman.bdev, in radeon_mm_gtt_dump_table_show()
|
/linux/drivers/gpu/drm/ |
A D | drm_gem_vram_helper.c | 956 struct ttm_resource_manager *man = ttm_manager_type(&vmm->bdev, TTM_PL_VRAM); in drm_vram_mm_debugfs()
|