Home
last modified time | relevance | path

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

12

/linux/drivers/gpu/drm/ttm/tests/
H A Dttm_resource_test.c127 man = ttm_manager_type(priv->devs->ttm_dev, place->mem_type); in ttm_resource_init_basic()
163 man = ttm_manager_type(priv->devs->ttm_dev, place->mem_type); in ttm_resource_init_pinned()
193 man = ttm_manager_type(priv->devs->ttm_dev, place->mem_type); in ttm_resource_fini_basic()
242 man = ttm_manager_type(priv->devs->ttm_dev, place->mem_type); in ttm_resource_manager_usage_basic()
257 man = ttm_manager_type(priv->devs->ttm_dev, TTM_PL_SYSTEM); in ttm_resource_manager_set_used_basic()
278 man = ttm_manager_type(priv->devs->ttm_dev, mem_type); in ttm_sys_man_alloc_basic()
307 man = ttm_manager_type(priv->devs->ttm_dev, mem_type); in ttm_sys_man_free_basic()
H A Dttm_mock_manager.c131 man = ttm_manager_type(bdev, mem_type); in ttm_mock_manager_fini()
212 man = ttm_manager_type(bdev, mem_type); in ttm_busy_manager_init()
224 man = ttm_manager_type(bdev, mem_type); in ttm_bad_manager_fini()
/linux/drivers/gpu/drm/ttm/
H A Dttm_bo_util.c148 ttm_manager_type(bo->bdev, dst_mem->mem_type); in ttm_bo_move_memcpy()
163 src_man = ttm_manager_type(bdev, src_mem->mem_type); in ttm_bo_move_memcpy()
296 man = ttm_manager_type(bo->bdev, res->mem_type); in ttm_io_prot()
347 ttm_manager_type(bo->bdev, bo->resource->mem_type); in ttm_bo_kmap_ttm()
619 from = ttm_manager_type(bdev, bo->resource->mem_type); in ttm_bo_move_pipeline_evict()
658 struct ttm_resource_manager *from = ttm_manager_type(bdev, bo->resource->mem_type); in ttm_bo_move_accel_cleanup()
659 struct ttm_resource_manager *man = ttm_manager_type(bdev, new_mem->mem_type); in ttm_bo_move_accel_cleanup()
692 struct ttm_resource_manager *man = ttm_manager_type(bdev, new_mem->mem_type); in ttm_bo_move_sync_cleanup()
H A Dttm_resource.c153 man = ttm_manager_type(pos->first->bo->bdev, i); in ttm_lru_bulk_move_tail()
273 man = ttm_manager_type(bdev, res->mem_type); in ttm_resource_move_to_lru_tail()
302 man = ttm_manager_type(bo->bdev, place->mem_type); in ttm_resource_init()
340 ttm_manager_type(bo->bdev, place->mem_type); in ttm_resource_alloc()
364 man = ttm_manager_type(bo->bdev, (*res)->mem_type); in ttm_resource_free()
393 man = ttm_manager_type(bdev, res->mem_type); in ttm_resource_intersects()
435 man = ttm_manager_type(bdev, res->mem_type); in ttm_resource_compatible()
H A Dttm_device.c156 man = ttm_manager_type(bdev, i); in ttm_device_swapout()
241 man = ttm_manager_type(bdev, TTM_PL_SYSTEM); in ttm_device_fini()
289 man = ttm_manager_type(bdev, i); in ttm_device_clear_dma_mappings()
H A Dttm_bo.c60 man = ttm_manager_type(bo->bdev, mem_type); in ttm_bo_mem_space_debug()
124 old_use_tt = !bo->resource || ttm_manager_type(bdev, bo->resource->mem_type)->use_tt; in ttm_bo_handle_move_mem()
125 new_use_tt = ttm_manager_type(bdev, mem->mem_type)->use_tt; in ttm_bo_handle_move_mem()
693 man = ttm_manager_type(bdev, place->mem_type); in ttm_bo_alloc_resource()
H A Dttm_range_manager.c217 struct ttm_resource_manager *man = ttm_manager_type(bdev, type); in ttm_range_man_fini_nocheck()
/linux/drivers/gpu/drm/xe/
H A Dxe_debugfs.c194 man = ttm_manager_type(bdev, mem_type); in xe_debugfs_register()
204 man = ttm_manager_type(bdev, XE_PL_TT); in xe_debugfs_register()
207 man = ttm_manager_type(bdev, XE_PL_STOLEN); in xe_debugfs_register()
H A Dxe_ttm_stolen_mgr.c256 struct ttm_resource_manager *ttm_mgr = ttm_manager_type(&xe->ttm, XE_PL_STOLEN); in xe_ttm_stolen_io_offset()
322 struct ttm_resource_manager *ttm_mgr = ttm_manager_type(&xe->ttm, XE_PL_STOLEN); in xe_ttm_stolen_io_mem_reserve()
337 to_stolen_mgr(ttm_manager_type(&xe->ttm, XE_PL_STOLEN)); in xe_ttm_stolen_gpu_offset()
H A Dxe_pm.c687 man = ttm_manager_type(&xe->ttm, i); in xe_pm_set_vram_threshold()
724 man = ttm_manager_type(&xe->ttm, i); in xe_pm_d3cold_allowed_toggle()
H A Dxe_query.c241 if (ttm_manager_type(&xe->ttm, i)) in calc_mem_regions_size()
268 man = ttm_manager_type(&xe->ttm, XE_PL_TT); in query_mem_regions()
283 man = ttm_manager_type(&xe->ttm, i); in query_mem_regions()
H A Dxe_bo_evict.c43 ttm_manager_type(bdev, mem_type); in xe_bo_evict_all()
H A Dxe_res_cursor.h54 mgr = ttm_manager_type(res->bo->bdev, res->mem_type); in xe_res_get_buddy()
/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_drv.c558 man = ttm_manager_type(&dev_priv->bdev, VMW_PL_MOB); in vmw_request_device()
594 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()
1359 struct ttm_resource_manager *man = ttm_manager_type(&dev_priv->bdev, TTM_PL_VRAM); in __vmw_svga_enable()
1386 struct ttm_resource_manager *man = ttm_manager_type(&dev_priv->bdev, TTM_PL_VRAM); in __vmw_svga_disable()
1405 struct ttm_resource_manager *man = ttm_manager_type(&dev_priv->bdev, TTM_PL_VRAM); in vmw_svga_disable()
1442 ttm_resource_manager_create_debugfs(ttm_manager_type(&vmw->bdev, TTM_PL_SYSTEM), in vmw_debugfs_resource_managers_init()
1444 ttm_resource_manager_create_debugfs(ttm_manager_type(&vmw->bdev, TTM_PL_VRAM), in vmw_debugfs_resource_managers_init()
1447 ttm_resource_manager_create_debugfs(ttm_manager_type(&vmw->bdev, VMW_PL_GMR), in vmw_debugfs_resource_managers_init()
1450 ttm_resource_manager_create_debugfs(ttm_manager_type(&vmw->bdev, VMW_PL_MOB), in vmw_debugfs_resource_managers_init()
[all …]
H A Dvmwgfx_system_manager.c80 struct ttm_resource_manager *man = ttm_manager_type(&dev_priv->bdev, in vmw_sys_man_fini()
H A Dvmwgfx_gmrid_manager.c192 struct ttm_resource_manager *man = ttm_manager_type(&dev_priv->bdev, type); in vmw_gmrid_man_fini()
H A Dvmwgfx_ttm_buffer.c506 new_man = ttm_manager_type(bo->bdev, new_mem->mem_type); in vmw_move()
508 old_man = ttm_manager_type(bo->bdev, bo->resource->mem_type); in vmw_move()
/linux/drivers/gpu/drm/qxl/
H A Dqxl_ttm.c237 ttm_resource_manager_create_debugfs(ttm_manager_type(&qdev->mman.bdev, in qxl_ttm_debugfs_init()
240 ttm_resource_manager_create_debugfs(ttm_manager_type(&qdev->mman.bdev, in qxl_ttm_debugfs_init()
H A Dqxl_object.c408 man = ttm_manager_type(&qdev->mman.bdev, TTM_PL_PRIV); in qxl_surf_evict()
416 man = ttm_manager_type(&qdev->mman.bdev, TTM_PL_VRAM); in qxl_vram_evict()
/linux/drivers/gpu/drm/xe/compat-i915-headers/gem/
H A Di915_gem_stolen.h67 #define i915_gem_stolen_initialized(xe) (!!ttm_manager_type(&(xe)->ttm, XE_PL_STOLEN))
/linux/drivers/gpu/drm/loongson/
H A Dlsdc_ttm.c408 man = ttm_manager_type(bdev, TTM_PL_VRAM); in lsdc_bo_evict_vram()
582 vram_man = ttm_manager_type(bdev, TTM_PL_VRAM); in lsdc_ttm_debugfs_init()
583 gtt_man = ttm_manager_type(bdev, TTM_PL_TT); in lsdc_ttm_debugfs_init()
/linux/include/drm/ttm/
H A Dttm_device.h276 ttm_manager_type(struct ttm_device *bdev, int mem_type) in ttm_manager_type() function
/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_ttm.c205 struct ttm_resource_manager *man = ttm_manager_type(&drm->ttm.bdev, TTM_PL_VRAM); in nouveau_ttm_fini_vram()
247 struct ttm_resource_manager *man = ttm_manager_type(&drm->ttm.bdev, TTM_PL_TT); in nouveau_ttm_fini_gtt()
/linux/drivers/gpu/drm/i915/
H A Dintel_region_ttm.c95 mem->region_private = ttm_manager_type(bdev, mem_type); in intel_region_ttm_init()
/linux/drivers/gpu/drm/radeon/
H A Dradeon_ttm.c766 man = ttm_manager_type(&rdev->mman.bdev, TTM_PL_VRAM); in radeon_ttm_set_active_vram_size()
902 ttm_resource_manager_create_debugfs(ttm_manager_type(&rdev->mman.bdev, in radeon_ttm_debugfs_init()
905 ttm_resource_manager_create_debugfs(ttm_manager_type(&rdev->mman.bdev, in radeon_ttm_debugfs_init()

12