Home
last modified time | relevance | path

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

/linux-6.1.9/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.c465 struct amdgpu_vmid_mgr *id_mgr = &adev->vm_manager.id_mgr[vmhub]; in amdgpu_vm_need_pipeline_sync() local
472 id = &id_mgr->ids[job->vmid]; in amdgpu_vm_need_pipeline_sync()
504 struct amdgpu_vmid_mgr *id_mgr = &adev->vm_manager.id_mgr[vmhub]; in amdgpu_vm_flush() local
505 struct amdgpu_vmid *id = &id_mgr->ids[job->vmid]; in amdgpu_vm_flush()
529 mutex_lock(&id_mgr->lock); in amdgpu_vm_flush()
533 mutex_unlock(&id_mgr->lock); in amdgpu_vm_flush()
565 mutex_lock(&id_mgr->lock); in amdgpu_vm_flush()
570 mutex_unlock(&id_mgr->lock); in amdgpu_vm_flush()
574 mutex_lock(&id_mgr->lock); in amdgpu_vm_flush()
578 mutex_unlock(&id_mgr->lock); in amdgpu_vm_flush()
Damdgpu_vm.h336 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.c1653 for (i = 0; i < adev->vm_manager.id_mgr[AMDGPU_GFXHUB_0].num_ids; i++) { in gfx_v11_0_constants_init()
Dgfx_v9_0.c2430 for (i = 0; i < adev->vm_manager.id_mgr[AMDGPU_GFXHUB_0].num_ids; i++) { in gfx_v9_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_v10_0.c5060 for (i = 0; i < adev->vm_manager.id_mgr[AMDGPU_GFXHUB_0].num_ids; i++) { in gfx_v10_0_constants_init()