Searched refs:ttm_resource_manager_usage (Results 1 – 15 of 15) sorted by relevance
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_gtt_mgr.c | 71 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 D | amdgpu_vram_mgr.c | 143 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 D | amdgpu_kms.c | 710 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 D | amdgpu_virt.c | 602 ttm_resource_manager_usage(&adev->mman.vram_mgr.manager) >> 20; in amdgpu_virt_write_vf2pf_data()
|
/linux/drivers/gpu/drm/xe/ |
H A D | xe_ttm_sys_mgr.c | 45 ttm_resource_manager_usage(man) > (man->size << PAGE_SHIFT)) { in xe_ttm_sys_mgr_new()
|
H A D | xe_pm.c | 728 vram_used = ttm_resource_manager_usage(man); in xe_pm_d3cold_allowed_toggle()
|
H A D | xe_ttm_vram_mgr.c | 73 if (ttm_resource_manager_usage(man) > man->size) { in xe_ttm_vram_mgr_new()
|
H A D | xe_query.c | 272 mem_regions->mem_regions[0].used = ttm_resource_manager_usage(man); in query_mem_regions()
|
/linux/drivers/gpu/drm/ttm/ |
H A D | ttm_resource.c | 542 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 D | ttm_resource.h | 454 uint64_t ttm_resource_manager_usage(struct ttm_resource_manager *man);
|
/linux/drivers/gpu/drm/radeon/ |
H A D | radeon_kms.c | 548 value64 = ttm_resource_manager_usage(man); in radeon_info_ioctl() 554 value64 = ttm_resource_manager_usage(man); in radeon_info_ioctl()
|
H A D | radeon_object.c | 419 u64 vram_usage = ttm_resource_manager_usage(man); in radeon_bo_get_threshold_for_moves()
|
/linux/drivers/gpu/drm/ttm/tests/ |
H A D | ttm_resource_test.c | 245 actual_usage = ttm_resource_manager_usage(man); in ttm_resource_manager_usage_basic()
|
H A D | ttm_bo_validate_test.c | 1007 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 D | nouveau_abi16.c | 322 getparam->value = (u64)ttm_resource_manager_usage(vram_mgr); in nouveau_abi16_ioctl_getparam()
|