/linux/drivers/gpu/drm/ttm/tests/ |
H A D | ttm_resource_test.c | 127 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 D | ttm_mock_manager.c | 131 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 D | ttm_bo_util.c | 148 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 D | ttm_resource.c | 153 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 D | ttm_device.c | 156 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 D | ttm_bo.c | 60 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 D | ttm_range_manager.c | 217 struct ttm_resource_manager *man = ttm_manager_type(bdev, type); in ttm_range_man_fini_nocheck()
|
/linux/drivers/gpu/drm/xe/ |
H A D | xe_debugfs.c | 194 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 D | xe_ttm_stolen_mgr.c | 256 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 D | xe_pm.c | 687 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 D | xe_query.c | 241 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 D | xe_bo_evict.c | 43 ttm_manager_type(bdev, mem_type); in xe_bo_evict_all()
|
H A D | xe_res_cursor.h | 54 mgr = ttm_manager_type(res->bo->bdev, res->mem_type); in xe_res_get_buddy()
|
/linux/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_drv.c | 558 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 D | vmwgfx_system_manager.c | 80 struct ttm_resource_manager *man = ttm_manager_type(&dev_priv->bdev, in vmw_sys_man_fini()
|
H A D | vmwgfx_gmrid_manager.c | 192 struct ttm_resource_manager *man = ttm_manager_type(&dev_priv->bdev, type); in vmw_gmrid_man_fini()
|
H A D | vmwgfx_ttm_buffer.c | 506 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 D | qxl_ttm.c | 237 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 D | qxl_object.c | 408 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 D | i915_gem_stolen.h | 67 #define i915_gem_stolen_initialized(xe) (!!ttm_manager_type(&(xe)->ttm, XE_PL_STOLEN))
|
/linux/drivers/gpu/drm/loongson/ |
H A D | lsdc_ttm.c | 408 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 D | ttm_device.h | 276 ttm_manager_type(struct ttm_device *bdev, int mem_type) in ttm_manager_type() function
|
/linux/drivers/gpu/drm/nouveau/ |
H A D | nouveau_ttm.c | 205 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 D | intel_region_ttm.c | 95 mem->region_private = ttm_manager_type(bdev, mem_type); in intel_region_ttm_init()
|
/linux/drivers/gpu/drm/radeon/ |
H A D | radeon_ttm.c | 766 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()
|