Home
last modified time | relevance | path

Searched refs:ttm_resource_manager_usage (Results 1 – 15 of 15) sorted by relevance

/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_gtt_mgr.c71 return sysfs_emit(buf, "%llu\n", ttm_resource_manager_usage(man)); in amdgpu_mem_info_gtt_used_show()
129 ttm_resource_manager_usage(man) > man->size) { in amdgpu_gtt_mgr_new()
H A Damdgpu_vram_mgr.c143 return sysfs_emit(buf, "%llu\n", ttm_resource_manager_usage(man)); in amdgpu_mem_info_vram_used_show()
495 if (ttm_resource_manager_usage(man) > max_bytes) { in amdgpu_vram_mgr_new()
H A Damdgpu_kms.c710 ui64 = ttm_resource_manager_usage(&adev->mman.vram_mgr.manager); in amdgpu_info_ioctl()
716 ui64 = ttm_resource_manager_usage(&adev->mman.gtt_mgr.manager); in amdgpu_info_ioctl()
757 ttm_resource_manager_usage(vram_man); in amdgpu_info_ioctl()
774 mem.gtt.heap_usage = ttm_resource_manager_usage(gtt_man); in amdgpu_info_ioctl()
H A Damdgpu_virt.c602 ttm_resource_manager_usage(&adev->mman.vram_mgr.manager) >> 20; in amdgpu_virt_write_vf2pf_data()
/linux/drivers/gpu/drm/xe/
H A Dxe_ttm_sys_mgr.c45 ttm_resource_manager_usage(man) > (man->size << PAGE_SHIFT)) { in xe_ttm_sys_mgr_new()
H A Dxe_pm.c728 vram_used = ttm_resource_manager_usage(man); in xe_pm_d3cold_allowed_toggle()
H A Dxe_ttm_vram_mgr.c73 if (ttm_resource_manager_usage(man) > man->size) { in xe_ttm_vram_mgr_new()
H A Dxe_query.c272 mem_regions->mem_regions[0].used = ttm_resource_manager_usage(man); in query_mem_regions()
/linux/drivers/gpu/drm/ttm/
H A Dttm_resource.c542 uint64_t ttm_resource_manager_usage(struct ttm_resource_manager *man) in ttm_resource_manager_usage() function
551 EXPORT_SYMBOL(ttm_resource_manager_usage);
565 drm_printf(p, " usage: %llu\n", ttm_resource_manager_usage(man)); in ttm_resource_manager_debug()
/linux/include/drm/ttm/
H A Dttm_resource.h454 uint64_t ttm_resource_manager_usage(struct ttm_resource_manager *man);
/linux/drivers/gpu/drm/radeon/
H A Dradeon_kms.c548 value64 = ttm_resource_manager_usage(man); in radeon_info_ioctl()
554 value64 = ttm_resource_manager_usage(man); in radeon_info_ioctl()
H A Dradeon_object.c419 u64 vram_usage = ttm_resource_manager_usage(man); in radeon_bo_get_threshold_for_moves()
/linux/drivers/gpu/drm/ttm/tests/
H A Dttm_resource_test.c245 actual_usage = ttm_resource_manager_usage(man); in ttm_resource_manager_usage_basic()
H A Dttm_bo_validate_test.c1007 KUNIT_EXPECT_EQ(test, ttm_resource_manager_usage(man), big); in ttm_bo_validate_deleted_evict()
1021 KUNIT_EXPECT_EQ(test, ttm_resource_manager_usage(man), small); in ttm_bo_validate_deleted_evict()
/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_abi16.c322 getparam->value = (u64)ttm_resource_manager_usage(vram_mgr); in nouveau_abi16_ioctl_getparam()