Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ids.c186 struct amdgpu_vmid_mgr *id_mgr = &adev->vm_manager.id_mgr[vmhub]; in amdgpu_vmid_grab_idle() local
194 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() local
331 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() local
390 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 …]
Damdgpu_vm.c467 struct amdgpu_vmid_mgr *id_mgr = &adev->vm_manager.id_mgr[vmhub]; in amdgpu_vm_need_pipeline_sync() local
474 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() local
507 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()
Damdgpu_vm.h330 struct amdgpu_vmid_mgr id_mgr[AMDGPU_MAX_VMHUBS]; member
Dgfx_v7_0.c1969 for (i = 0; i < adev->vm_manager.id_mgr[0].num_ids; i++) { in gfx_v7_0_constants_init()
Dgfx_v11_0.c1932 for (i = 0; i < adev->vm_manager.id_mgr[AMDGPU_GFXHUB_0].num_ids; i++) { in gfx_v11_0_constants_init()
Dgfx_v8_0.c3783 for (i = 0; i < adev->vm_manager.id_mgr[0].num_ids; i++) { in gfx_v8_0_constants_init()
Dgfx_v9_0.c2598 for (i = 0; i < adev->vm_manager.id_mgr[AMDGPU_GFXHUB_0].num_ids; i++) { in gfx_v9_0_constants_init()
Dgfx_v10_0.c5244 for (i = 0; i < adev->vm_manager.id_mgr[AMDGPU_GFXHUB_0].num_ids; i++) { in gfx_v10_0_constants_init()