Lines Matching full:vmid

148  * VMID manager
157 * @id: VMID structure
159 * Check if GPU reset occured since last use of the VMID.
189 * amdgpu_vmid_grab_idle - grab idle VMID
192 * @idle: resulting idle VMID
195 * Try to find an idle VMID, if none is idle add a fence to wait to the sync
217 /* Check if we have an idle VMID */ in amdgpu_vmid_grab_idle()
220 /* Don't use per engine and per process VMID at the same time */ in amdgpu_vmid_grab_idle()
230 /* If we can't find a idle VMID to use, wait till one becomes available */ in amdgpu_vmid_grab_idle()
261 * amdgpu_vmid_grab_reserved - try to assign reserved VMID
265 * @job: job who wants to use the VMID
266 * @id: resulting VMID
269 * Try to assign a reserved VMID.
294 /* Don't use per engine and per process VMID at the same time */ in amdgpu_vmid_grab_reserved()
309 /* Good we can use this VMID. Remember this submission as in amdgpu_vmid_grab_reserved()
310 * user of the VMID. in amdgpu_vmid_grab_reserved()
322 * amdgpu_vmid_grab_used - try to reuse a VMID
326 * @job: job who wants to use the VMID
327 * @id: resulting VMID
330 * Try to reuse a VMID for this submission.
347 /* Check if we can use a VMID already assigned to this VM */ in amdgpu_vmid_grab_used()
351 /* Check all the prerequisites to using this VMID */ in amdgpu_vmid_grab_used()
369 /* Good, we can use this VMID. Remember this submission as in amdgpu_vmid_grab_used()
370 * user of the VMID. in amdgpu_vmid_grab_used()
386 * amdgpu_vmid_grab - allocate the next free VMID
390 * @job: job who wants to use the VMID
423 /* Remember this submission as user of the VMID */ in amdgpu_vmid_grab()
441 job->vmid = id - id_mgr->ids; in amdgpu_vmid_grab()
498 * amdgpu_vmid_reset - reset VMID to zero
502 * @vmid: vmid number to use
507 unsigned vmid) in amdgpu_vmid_reset() argument
510 struct amdgpu_vmid *id = &id_mgr->ids[vmid]; in amdgpu_vmid_reset()
524 * amdgpu_vmid_reset_all - reset VMID to zero
528 * Reset VMID to force flush on next use
544 * amdgpu_vmid_mgr_init - init the VMID manager
565 /* skip over VMID 0, since it is the system VM */ in amdgpu_vmid_mgr_init()
572 /* alloc a default reserved vmid to enforce isolation */ in amdgpu_vmid_mgr_init()