Home
last modified time | relevance | path

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

12

/linux/drivers/gpu/drm/ttm/
A Dttm_bo.c67 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 Dttm_bo_util.c137 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 Dttm_device.c152 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 Dttm_resource.c52 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 Dttm_range_manager.c179 struct ttm_resource_manager *man = ttm_manager_type(bdev, type); in ttm_range_man_fini_nocheck()
/linux/drivers/gpu/drm/qxl/
A Dqxl_ttm.c255 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 Dqxl_object.c404 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 Damdgpu_gtt_mgr.c62 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 Damdgpu_preempt_mgr.c50 man = ttm_manager_type(&adev->mman.bdev, AMDGPU_PL_PREEMPT); in mem_info_preempt_used_show()
A Damdgpu_ttm.c1863 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 Damdgpu_kms.c681 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 Damdgpu_vram_mgr.c101 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 Damdgpu_object.c451 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 Damdgpu_amdkfd.c534 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 Dvmwgfx_drv.c555 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 Dvmwgfx_gmrid_manager.c175 struct ttm_resource_manager *man = ttm_manager_type(&dev_priv->bdev, type); in vmw_gmrid_man_fini()
A Dvmwgfx_thp.c151 struct ttm_resource_manager *man = ttm_manager_type(&dev_priv->bdev, TTM_PL_VRAM); in vmw_thp_fini()
A Dvmwgfx_ttm_buffer.c679 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 Dnouveau_ttm.c180 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 Dttm_device.h292 ttm_manager_type(struct ttm_device *bdev, int mem_type) in ttm_manager_type() function
/linux/drivers/gpu/drm/i915/
A Dintel_region_ttm.c94 mem->region_private = ttm_manager_type(bdev, mem_type); in intel_region_ttm_init()
A Di915_ttm_buddy_manager.c229 struct ttm_resource_manager *man = ttm_manager_type(bdev, type); in i915_ttm_buddy_man_fini()
/linux/drivers/gpu/drm/i915/gem/
A Di915_gem_ttm.c186 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 Dradeon_ttm.c791 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 Ddrm_gem_vram_helper.c956 struct ttm_resource_manager *man = ttm_manager_type(&vmm->bdev, TTM_PL_VRAM); in drm_vram_mm_debugfs()

Completed in 39 milliseconds

12