Searched refs:id_mgr (Results 1 – 8 of 8) sorted by relevance
186 struct amdgpu_vmid_mgr *id_mgr = &adev->vm_manager.id_mgr[vmhub]; in amdgpu_vmid_grab_idle() local194 fences = kmalloc_array(id_mgr->num_ids, sizeof(void *), GFP_KERNEL); in amdgpu_vmid_grab_idle()200 list_for_each_entry((*idle), &id_mgr->ids_lru, list) { in amdgpu_vmid_grab_idle()212 if (&(*idle)->list == &id_mgr->ids_lru) { in amdgpu_vmid_grab_idle()323 struct amdgpu_vmid_mgr *id_mgr = &adev->vm_manager.id_mgr[vmhub]; in amdgpu_vmid_grab_used() local331 list_for_each_entry_reverse((*id), &id_mgr->ids_lru, list) { in amdgpu_vmid_grab_used()385 struct amdgpu_vmid_mgr *id_mgr = &adev->vm_manager.id_mgr[vmhub]; in amdgpu_vmid_grab() local390 mutex_lock(&id_mgr->lock); in amdgpu_vmid_grab()417 list_move_tail(&id->list, &id_mgr->ids_lru); in amdgpu_vmid_grab()427 job->vmid = id - id_mgr->ids; in amdgpu_vmid_grab()[all …]
467 struct amdgpu_vmid_mgr *id_mgr = &adev->vm_manager.id_mgr[vmhub]; in amdgpu_vm_need_pipeline_sync() local474 id = &id_mgr->ids[job->vmid]; in amdgpu_vm_need_pipeline_sync()506 struct amdgpu_vmid_mgr *id_mgr = &adev->vm_manager.id_mgr[vmhub]; in amdgpu_vm_flush() local507 struct amdgpu_vmid *id = &id_mgr->ids[job->vmid]; in amdgpu_vm_flush()531 mutex_lock(&id_mgr->lock); in amdgpu_vm_flush()535 mutex_unlock(&id_mgr->lock); in amdgpu_vm_flush()567 mutex_lock(&id_mgr->lock); in amdgpu_vm_flush()572 mutex_unlock(&id_mgr->lock); in amdgpu_vm_flush()576 mutex_lock(&id_mgr->lock); in amdgpu_vm_flush()580 mutex_unlock(&id_mgr->lock); in amdgpu_vm_flush()
330 struct amdgpu_vmid_mgr id_mgr[AMDGPU_MAX_VMHUBS]; member
1969 for (i = 0; i < adev->vm_manager.id_mgr[0].num_ids; i++) { in gfx_v7_0_constants_init()
1932 for (i = 0; i < adev->vm_manager.id_mgr[AMDGPU_GFXHUB_0].num_ids; i++) { in gfx_v11_0_constants_init()
3783 for (i = 0; i < adev->vm_manager.id_mgr[0].num_ids; i++) { in gfx_v8_0_constants_init()
2598 for (i = 0; i < adev->vm_manager.id_mgr[AMDGPU_GFXHUB_0].num_ids; i++) { in gfx_v9_0_constants_init()
5244 for (i = 0; i < adev->vm_manager.id_mgr[AMDGPU_GFXHUB_0].num_ids; i++) { in gfx_v10_0_constants_init()