Home
last modified time | relevance | path

Searched refs:vram_mgr (Results 1 – 10 of 10) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/xe/
Dxe_tile.c95 tile->mem.vram_mgr = drmm_kzalloc(drm, sizeof(*tile->mem.vram_mgr), GFP_KERNEL); in xe_tile_alloc()
96 if (!tile->mem.vram_mgr) in xe_tile_alloc()
139 err = xe_ttm_vram_mgr_init(tile, tile->mem.vram_mgr); in tile_ttm_mgr_init()
Dxe_device_types.h183 struct xe_ttm_vram_mgr *vram_mgr; member
Dxe_gt_sriov_pf_config.c1516 return xe_ttm_vram_get_avail(&tile->mem.vram_mgr->manager); in pf_query_free_lmem()
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_vram_mgr.c52 return container_of(mgr, struct amdgpu_device, mman.vram_mgr); in to_amdgpu_device()
141 struct ttm_resource_manager *man = &adev->mman.vram_mgr.manager; in amdgpu_mem_info_vram_used_show()
162 amdgpu_vram_mgr_vis_usage(&adev->mman.vram_mgr)); in amdgpu_mem_info_vis_vram_used_show()
907 struct amdgpu_vram_mgr *mgr = &adev->mman.vram_mgr; in amdgpu_vram_mgr_init()
945 struct amdgpu_vram_mgr *mgr = &adev->mman.vram_mgr; in amdgpu_vram_mgr_fini()
Damdgpu_virt.c367 struct amdgpu_vram_mgr *mgr = &adev->mman.vram_mgr; in amdgpu_virt_ras_reserve_bps()
385 amdgpu_vram_mgr_reserve_range(&adev->mman.vram_mgr, in amdgpu_virt_ras_reserve_bps()
599 ttm_resource_manager_usage(&adev->mman.vram_mgr.manager) >> 20; in amdgpu_virt_write_vf2pf_data()
601 amdgpu_vram_mgr_vis_usage(&adev->mman.vram_mgr) >> 20; in amdgpu_virt_write_vf2pf_data()
Damdgpu_ttm.h69 struct amdgpu_vram_mgr vram_mgr; member
Damdgpu_kms.c710 ui64 = ttm_resource_manager_usage(&adev->mman.vram_mgr.manager); in amdgpu_info_ioctl()
713 ui64 = amdgpu_vram_mgr_vis_usage(&adev->mman.vram_mgr); in amdgpu_info_ioctl()
749 &adev->mman.vram_mgr.manager; in amdgpu_info_ioctl()
767 amdgpu_vram_mgr_vis_usage(&adev->mman.vram_mgr); in amdgpu_info_ioctl()
Damdgpu_cs.c701 used_vram = ttm_resource_manager_usage(&adev->mman.vram_mgr.manager); in amdgpu_cs_get_threshold_for_moves()
748 amdgpu_vram_mgr_vis_usage(&adev->mman.vram_mgr); in amdgpu_cs_get_threshold_for_moves()
Damdgpu_ras.c2504 status = amdgpu_vram_mgr_query_page_status(&adev->mman.vram_mgr, in amdgpu_ras_badpages_read()
4802 struct amdgpu_vram_mgr *mgr = &adev->mman.vram_mgr; in amdgpu_ras_reserve_page()
/linux-6.12.1/drivers/gpu/drm/nouveau/
Dnouveau_abi16.c321 struct ttm_resource_manager *vram_mgr = ttm_manager_type(&drm->ttm.bdev, TTM_PL_VRAM); in nouveau_abi16_ioctl_getparam() local
322 getparam->value = (u64)ttm_resource_manager_usage(vram_mgr); in nouveau_abi16_ioctl_getparam()