Home
last modified time | relevance | path

Searched refs:id_mgr (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ids.c203 struct amdgpu_vmid_mgr *id_mgr = &adev->vm_manager.id_mgr[vmhub]; in amdgpu_vmid_grab_idle() local
211 fences = kmalloc_array(sizeof(void *), id_mgr->num_ids, GFP_KERNEL); in amdgpu_vmid_grab_idle()
217 list_for_each_entry((*idle), &id_mgr->ids_lru, list) { in amdgpu_vmid_grab_idle()
229 if (&(*idle)->list == &id_mgr->ids_lru) { in amdgpu_vmid_grab_idle()
347 struct amdgpu_vmid_mgr *id_mgr = &adev->vm_manager.id_mgr[vmhub]; in amdgpu_vmid_grab_used() local
355 list_for_each_entry_reverse((*id), &id_mgr->ids_lru, list) { in amdgpu_vmid_grab_used()
415 struct amdgpu_vmid_mgr *id_mgr = &adev->vm_manager.id_mgr[vmhub]; in amdgpu_vmid_grab() local
420 mutex_lock(&id_mgr->lock); in amdgpu_vmid_grab()
450 list_move_tail(&id->list, &id_mgr->ids_lru); in amdgpu_vmid_grab()
460 job->vmid = id - id_mgr->ids; in amdgpu_vmid_grab()
[all …]
Damdgpu_vm.c1033 struct amdgpu_vmid_mgr *id_mgr = &adev->vm_manager.id_mgr[vmhub]; in amdgpu_vm_need_pipeline_sync() local
1040 id = &id_mgr->ids[job->vmid]; in amdgpu_vm_need_pipeline_sync()
1072 struct amdgpu_vmid_mgr *id_mgr = &adev->vm_manager.id_mgr[vmhub]; in amdgpu_vm_flush() local
1073 struct amdgpu_vmid *id = &id_mgr->ids[job->vmid]; in amdgpu_vm_flush()
1097 mutex_lock(&id_mgr->lock); in amdgpu_vm_flush()
1101 mutex_unlock(&id_mgr->lock); in amdgpu_vm_flush()
1133 mutex_lock(&id_mgr->lock); in amdgpu_vm_flush()
1138 mutex_unlock(&id_mgr->lock); in amdgpu_vm_flush()
1142 mutex_lock(&id_mgr->lock); in amdgpu_vm_flush()
1146 mutex_unlock(&id_mgr->lock); in amdgpu_vm_flush()
Damdgpu_vm.h326 struct amdgpu_vmid_mgr id_mgr[AMDGPU_MAX_VMHUBS]; member
Dgfx_v7_0.c1971 for (i = 0; i < adev->vm_manager.id_mgr[0].num_ids; i++) { in gfx_v7_0_constants_init()
Dgfx_v8_0.c3791 for (i = 0; i < adev->vm_manager.id_mgr[0].num_ids; i++) { in gfx_v8_0_constants_init()
Dgfx_v9_0.c2578 for (i = 0; i < adev->vm_manager.id_mgr[AMDGPU_GFXHUB_0].num_ids; i++) { in gfx_v9_0_constants_init()
Dgfx_v10_0.c4809 for (i = 0; i < adev->vm_manager.id_mgr[AMDGPU_GFXHUB_0].num_ids; i++) { in gfx_v10_0_constants_init()