Lines Matching refs:vm_manager
62 return rdev->vm_manager.max_pfn >> radeon_vm_block_size; in radeon_vm_num_pdes()
89 if (!rdev->vm_manager.enabled) { in radeon_vm_manager_init()
94 rdev->vm_manager.enabled = true; in radeon_vm_manager_init()
110 if (!rdev->vm_manager.enabled) in radeon_vm_manager_fini()
114 radeon_fence_unref(&rdev->vm_manager.active[i]); in radeon_vm_manager_fini()
116 rdev->vm_manager.enabled = false; in radeon_vm_manager_fini()
188 vm_id->last_id_use == rdev->vm_manager.active[vm_id->id]) in radeon_vm_grab_id()
195 for (i = 1; i < rdev->vm_manager.nvm; ++i) { in radeon_vm_grab_id()
196 struct radeon_fence *fence = rdev->vm_manager.active[i]; in radeon_vm_grab_id()
215 return rdev->vm_manager.active[choices[i]]; in radeon_vm_grab_id()
274 radeon_fence_unref(&rdev->vm_manager.active[vm_id]); in radeon_vm_fence()
275 rdev->vm_manager.active[vm_id] = radeon_fence_ref(fence); in radeon_vm_fence()
465 if (last_pfn >= rdev->vm_manager.max_pfn) { in radeon_vm_bo_set_addr()
467 last_pfn, rdev->vm_manager.max_pfn); in radeon_vm_bo_set_addr()
957 addr += rdev->vm_manager.vram_base_offset; in radeon_vm_bo_update()