Searched refs:id_mgr (Results 1 – 10 of 10) sorted by relevance
203 struct amdgpu_vmid_mgr *id_mgr = &adev->vm_manager.id_mgr[vmhub]; in amdgpu_vmid_grab_idle() local212 fences = kmalloc_array(id_mgr->num_ids, sizeof(void *), GFP_KERNEL); in amdgpu_vmid_grab_idle()218 list_for_each_entry((*idle), &id_mgr->ids_lru, list) { in amdgpu_vmid_grab_idle()230 if (&(*idle)->list == &id_mgr->ids_lru) { in amdgpu_vmid_grab_idle()278 struct amdgpu_vmid_mgr *id_mgr = &adev->vm_manager.id_mgr[vmhub]; in amdgpu_vmid_grab_reserved() local284 *id = id_mgr->reserved; in amdgpu_vmid_grab_reserved()357 struct amdgpu_vmid_mgr *id_mgr = &adev->vm_manager.id_mgr[vmhub]; in amdgpu_vmid_grab_used() local365 list_for_each_entry_reverse((*id), &id_mgr->ids_lru, list) { in amdgpu_vmid_grab_used()417 struct amdgpu_vmid_mgr *id_mgr = &adev->vm_manager.id_mgr[vmhub]; in amdgpu_vmid_grab() local422 mutex_lock(&id_mgr->lock); in amdgpu_vmid_grab()[all …]
613 struct amdgpu_vmid_mgr *id_mgr = &adev->vm_manager.id_mgr[vmhub]; in amdgpu_vm_need_pipeline_sync() local624 if (amdgpu_vmid_had_gpu_reset(adev, &id_mgr->ids[job->vmid])) in amdgpu_vm_need_pipeline_sync()647 struct amdgpu_vmid_mgr *id_mgr = &adev->vm_manager.id_mgr[vmhub]; in amdgpu_vm_flush() local648 struct amdgpu_vmid *id = &id_mgr->ids[job->vmid]; in amdgpu_vm_flush()665 mutex_lock(&id_mgr->lock); in amdgpu_vm_flush()669 mutex_unlock(&id_mgr->lock); in amdgpu_vm_flush()719 mutex_lock(&id_mgr->lock); in amdgpu_vm_flush()724 mutex_unlock(&id_mgr->lock); in amdgpu_vm_flush()728 mutex_lock(&id_mgr->lock); in amdgpu_vm_flush()732 mutex_unlock(&id_mgr->lock); in amdgpu_vm_flush()
425 struct amdgpu_vmid_mgr id_mgr[AMDGPU_MAX_VMHUBS]; member
1931 for (i = 0; i < adev->vm_manager.id_mgr[0].num_ids; i++) { in gfx_v7_0_constants_init()
1287 for (i = 0; i < adev->vm_manager.id_mgr[AMDGPU_GFXHUB(0)].num_ids; i++) { in gfx_v9_4_3_xcc_constants_init()
1681 for (i = 0; i < adev->vm_manager.id_mgr[AMDGPU_GFXHUB(0)].num_ids; i++) { in gfx_v12_0_constants_init()
3754 for (i = 0; i < adev->vm_manager.id_mgr[0].num_ids; i++) { in gfx_v8_0_constants_init()
1961 for (i = 0; i < adev->vm_manager.id_mgr[AMDGPU_GFXHUB(0)].num_ids; i++) { in gfx_v11_0_constants_init()
2622 for (i = 0; i < adev->vm_manager.id_mgr[AMDGPU_GFXHUB(0)].num_ids; i++) { in gfx_v9_0_constants_init()
5202 for (i = 0; i < adev->vm_manager.id_mgr[AMDGPU_GFXHUB(0)].num_ids; i++) { in gfx_v10_0_constants_init()