Home
last modified time | relevance | path

Searched refs:vram_man (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_virt.c515 struct ttm_resource_manager *vram_man = ttm_manager_type(&adev->mman.bdev, TTM_PL_VRAM); in amdgpu_virt_write_vf2pf_data() local
538 vf2pf_info->fb_usage = amdgpu_vram_mgr_usage(vram_man) >> 20; in amdgpu_virt_write_vf2pf_data()
539 vf2pf_info->fb_vis_usage = amdgpu_vram_mgr_vis_usage(vram_man) >> 20; in amdgpu_virt_write_vf2pf_data()
Damdgpu_amdkfd.c535 struct ttm_resource_manager *vram_man = ttm_manager_type(&adev->mman.bdev, TTM_PL_VRAM); in amdgpu_amdkfd_get_vram_usage() local
537 return amdgpu_vram_mgr_usage(vram_man); in amdgpu_amdkfd_get_vram_usage()
Damdgpu_kms.c637 struct ttm_resource_manager *vram_man = in amdgpu_info_ioctl() local
647 amdgpu_vram_mgr_usage(vram_man); in amdgpu_info_ioctl()
657 amdgpu_vram_mgr_vis_usage(vram_man); in amdgpu_info_ioctl()
Damdgpu_cs.c302 struct ttm_resource_manager *vram_man = ttm_manager_type(&adev->mman.bdev, TTM_PL_VRAM); in amdgpu_cs_get_threshold_for_moves() local
319 used_vram = amdgpu_vram_mgr_usage(vram_man); in amdgpu_cs_get_threshold_for_moves()
366 amdgpu_vram_mgr_vis_usage(vram_man); in amdgpu_cs_get_threshold_for_moves()