Lines Matching defs:vmid
46 u32 pasid, unsigned int vmid);
148 dqm->dev->adev, qpd->vmid, qpd->sh_mem_config,
442 dqm->dev->adev, qpd->vmid, qpd->tba_addr,
462 dev_err(dev, "no more vmid to allocate\n");
466 pr_debug("vmid allocated: %d\n", allocated_vmid);
472 qpd->vmid = allocated_vmid;
473 q->properties.vmid = allocated_vmid;
484 qpd->vmid,
486 /* invalidate the VM context after pasid and vmid mapping is set up */
491 qpd->sh_hidden_private_base, qpd->vmid);
509 return amdgpu_amdkfd_submit_ib(kdev->adev, KGD_ENGINE_MEC1, qpd->vmid,
527 /* Release the vmid mapping */
528 set_pasid_vmid_mapping(dqm, 0, qpd->vmid);
529 dqm->vmid_pasid[qpd->vmid] = 0;
531 qpd->vmid = 0;
532 q->properties.vmid = 0;
558 q->properties.vmid = qpd->vmid;
702 unsigned int vmid;
718 dev_err(dev->adev->dev, "no vmid pasid mapping supported\n");
727 for (vmid = first_vmid_to_scan; vmid <= last_vmid_to_scan; vmid++) {
729 (dev->adev, vmid, &queried_pasid);
732 pr_debug("Killing wave fronts of vmid %d and pasid 0x%x\n",
733 vmid, p->pasid);
738 if (vmid > last_vmid_to_scan) {
739 dev_err(dev->adev->dev, "Didn't find vmid for pasid 0x%x\n", p->pasid);
753 reg_sq_cmd.bits.vm_id = vmid;
809 * deallocate_vmid(), i.e. when vmid is still in use.
1186 qpd->vmid,
1372 unsigned int vmid)
1379 dqm->dev->adev, pasid, vmid, xcc_id);
1610 "vmid mask: 0x%8X\n"
2229 if ((dqm->sched_policy == KFD_SCHED_POLICY_NO_HWS) && (qpd->vmid != 0))
2718 * Releases vmid for the trap debugger