Home
last modified time | relevance | path

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

/linux-6.12.1/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
212 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() local
284 *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() local
365 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() local
422 mutex_lock(&id_mgr->lock); in amdgpu_vmid_grab()
[all …]
Damdgpu_vm.c613 struct amdgpu_vmid_mgr *id_mgr = &adev->vm_manager.id_mgr[vmhub]; in amdgpu_vm_need_pipeline_sync() local
624 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() local
648 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()
Damdgpu_vm.h425 struct amdgpu_vmid_mgr id_mgr[AMDGPU_MAX_VMHUBS]; member
Dgfx_v7_0.c1931 for (i = 0; i < adev->vm_manager.id_mgr[0].num_ids; i++) { in gfx_v7_0_constants_init()
Dgfx_v9_4_3.c1287 for (i = 0; i < adev->vm_manager.id_mgr[AMDGPU_GFXHUB(0)].num_ids; i++) { in gfx_v9_4_3_xcc_constants_init()
Dgfx_v12_0.c1681 for (i = 0; i < adev->vm_manager.id_mgr[AMDGPU_GFXHUB(0)].num_ids; i++) { in gfx_v12_0_constants_init()
Dgfx_v8_0.c3754 for (i = 0; i < adev->vm_manager.id_mgr[0].num_ids; i++) { in gfx_v8_0_constants_init()
Dgfx_v11_0.c1961 for (i = 0; i < adev->vm_manager.id_mgr[AMDGPU_GFXHUB(0)].num_ids; i++) { in gfx_v11_0_constants_init()
Dgfx_v9_0.c2622 for (i = 0; i < adev->vm_manager.id_mgr[AMDGPU_GFXHUB(0)].num_ids; i++) { in gfx_v9_0_constants_init()
Dgfx_v10_0.c5202 for (i = 0; i < adev->vm_manager.id_mgr[AMDGPU_GFXHUB(0)].num_ids; i++) { in gfx_v10_0_constants_init()